public function getParentClassName()
    {
        if ($this->isTrait()) {
            return false;
        }
        $parent = $this->node->extends;

        if (!empty($parent)) {
            if ($this->isInterface()) {
                $parent = array_pop($parent);
            }
            return (string) $parent;
        }
        return false;
    }
public function getParentClassName()
    {
        if ($this->isTrait()) {
            return false;
        }
        $parent = $this->node->extends;

        if (!empty($parent)) {
            if ($this->isInterface()) {
                $parent = array_pop($parent);
            }
            return (string) $parent;
        }
        return false;
    }
public function getParentClassName ( ) { if ( $ this -> isTrait ( ) ) { return false ; } $ parent = $ this -> node -> extends ; if ( ! empty ( $ parent ) ) { if ( $ this -> isInterface ( ) ) { $ parent = array_pop ( $ parent ) ; } return ( string ) $ parent ; } return false ; }
Gets the parent class.

@return mixed string if parent exists, false otherwise
Gets the parent class .