public function getInterfaceNames()
    {
        $interfaces = array();

        if ($this->node instanceof Node\Stmt\Class_) {
            foreach ($this->node->implements as $interface) {
                $interfaces[] = (string) $interface;
            }
        }

        return $interfaces;
    }
public function getInterfaceNames()
    {
        $interfaces = array();

        if ($this->node instanceof Node\Stmt\Class_) {
            foreach ($this->node->implements as $interface) {
                $interfaces[] = (string) $interface;
            }
        }

        return $interfaces;
    }
public function getInterfaceNames ( ) { $ interfaces = array ( ) ; if ( $ this -> node instanceof Node \ Stmt \ Class_ ) { foreach ( $ this -> node -> implements as $ interface ) { $ interfaces [ ] = ( string ) $ interface ; } } return $ interfaces ; }
Gets the interface names.

@return array A numerical array with interface names as the values.
Gets the interface names .