public function setName($name)
    {
        $inflectMethod = $this->getInflectionMethod();
        $this->_name = Inflector::$inflectMethod($name);

        return $this;
    }
public function setName($name)
    {
        $inflectMethod = $this->getInflectionMethod();
        $this->_name = Inflector::$inflectMethod($name);

        return $this;
    }
public function setName ( $ name ) { $ inflectMethod = $ this -> getInflectionMethod ( ) ; $ this -> _name = Inflector :: $ inflectMethod ( $ name ) ; return $ this ; }
Set the name of this endpoint

@param string $name The name for this endpoint instance
@return $this
Set the name of this endpoint