public function RuntimeReflectionService::getParentClasses

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

Parameters

string $class:

Return value

array

Overrides ReflectionService::getParentClasses

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php, line 38

Class

RuntimeReflectionService
PHP Runtime Reflection Service

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getParentClasses($class) {
  return class_parents($class);
}