You are here

public function ReflectionService::getParentClasses in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ReflectionService.php \Doctrine\Common\Persistence\Mapping\ReflectionService::getParentClasses()

Returns an array of the parent classes (not interfaces) for the given class.

Parameters

string $class:

Return value

array

Throws

\Doctrine\Common\Persistence\Mapping\MappingException

2 methods override ReflectionService::getParentClasses()
RuntimeReflectionService::getParentClasses in vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php
Returns an array of the parent classes (not interfaces) for the given class.
StaticReflectionService::getParentClasses in vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/StaticReflectionService.php
Returns an array of the parent classes (not interfaces) for the given class.

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ReflectionService.php, line 41

Class

ReflectionService
Very simple reflection service abstraction.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getParentClasses($class);