Get the real parent class name of a class or object
Parameters
string:
Return value
string
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));
}