public static function ClassUtils::getParentClass in Plug 7
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 lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Util/ ClassUtilsTest.php
File
- lib/
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\UtilCode
public static function getParentClass($className) {
return get_parent_class(self::getRealClass($className));
}