public static function ClassUtils::getParentClass

Get the real parent class name of a class or object

Parameters

string:

Return value

string

1 call to ClassUtils::getParentClass()
ClassUtilsTest::testGetParentClass in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php, line 65

Class

ClassUtils
Class and reflection related functionality for objects that might or not be proxy objects at the moment.

Namespace

Doctrine\Common\Util

Code

public static function getParentClass($className) {
  return get_parent_class(self::getRealClass($className));
}