src/Php/ClassHierarchy.php
public function getParent($class)
    {
        $classId = $this->getClassId($class);
        if (!isset($classId)) {
            return false;
        }
        $parentClassId = $this->extends[$classId];
        return isset($parentClassId) ? $this->classes[$parentClassId[0]] : null;
    }
public function getParent($class)
    {
        $classId = $this->getClassId($class);
        if (!isset($classId)) {
            return false;
        }
        $parentClassId = $this->extends[$classId];
        return isset($parentClassId) ? $this->classes[$parentClassId[0]] : null;
    }
public function getParent ( $ class ) { $ classId = $ this -> getClassId ( $ class ) ; if ( ! isset ( $ classId ) ) { return false ; } $ parentClassId = $ this -> extends [ $ classId ] ; return isset ( $ parentClassId ) ? $ this -> classes [ $ parentClassId [ 0 ] ] : null ; }
gets parent class

@param string $class
@retutn string|null|false
gets parent class