public function name($name = null)
    {
        if ($name === null) {
            return $name;
        }
        $this->_name = $name;

        return $this;
    }
public function name($name = null)
    {
        if ($name === null) {
            return $name;
        }
        $this->_name = $name;

        return $this;
    }
public function name ( $ name = null ) { if ( $ name === null ) { return $ name ; } $ this -> _name = $ name ; return $ this ; }
Get or set the name.

@param string $name
@return MenuItem|string
Get or set the name .