You are here

public static function ClassUtils::getParentClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php \Doctrine\Common\Util\ClassUtils::getParentClass()

Gets the real parent class name of a class or object.

Parameters

string $className:

Return value

string

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

File

vendor/doctrine/common/lib/Doctrine/Common/Util/ClassUtils.php, line 68

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));
}