private static function retrieveNameOfSuperclassFor($className)
    {
        $parents = self::hierarchy($className);

        return (true === empty($parents))
            ? $className
            : $parents[count($parents) - 1]->name;
    }
private static function retrieveNameOfSuperclassFor($className)
    {
        $parents = self::hierarchy($className);

        return (true === empty($parents))
            ? $className
            : $parents[count($parents) - 1]->name;
    }
private static function retrieveNameOfSuperclassFor ( $ className ) { $ parents = self :: hierarchy ( $ className ) ; return ( true === empty ( $ parents ) ) ? $ className : $ parents [ count ( $ parents ) - 1 ] -> name ; }
Returns the superclass name for the specified classname.

@param string $className The name of the class, which superclass name to
return.

@return string The name of the superclass.
Returns the superclass name for the specified classname .