public function getName()
    {
        if ($this->_name === null) {
            $endpoint = namespaceSplit(get_class($this));
            $endpoint = substr(end($endpoint), 0, -8);

            $inflectMethod = $this->getInflectionMethod();
            $this->_name = Inflector::$inflectMethod($endpoint);
        }

        return $this->_name;
    }
public function getName()
    {
        if ($this->_name === null) {
            $endpoint = namespaceSplit(get_class($this));
            $endpoint = substr(end($endpoint), 0, -8);

            $inflectMethod = $this->getInflectionMethod();
            $this->_name = Inflector::$inflectMethod($endpoint);
        }

        return $this->_name;
    }
public function getName ( ) { if ( $ this -> _name === null ) { $ endpoint = namespaceSplit ( get_class ( $ this ) ) ; $ endpoint = substr ( end ( $ endpoint ) , 0 , - 8 ) ; $ inflectMethod = $ this -> getInflectionMethod ( ) ; $ this -> _name = Inflector :: $ inflectMethod ( $ endpoint ) ; } return $ this -> _name ; }
Get the name of this endpoint

@return string
Get the name of this endpoint