You are here

public function ReflectionService::getParentClasses in Plug 7

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 lib/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 lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/StaticReflectionService.php
Returns an array of the parent classes (not interfaces) for the given class.

File

lib/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);