original_string: public function name($name = null)
      {
          if ($name === null) {
              return $name;
          }
          $this->_name = $name;
  
          return $this;
      }
code: public function name($name = null)
      {
          if ($name === null) {
              return $name;
          }
          $this->_name = $name;
  
          return $this;
      }
code_tokens: public function name ( $ name = null ) { if ( $ name === null ) { return $ name ; } $ this -> _name = $ name ; return $ this ; }
docstring: Get or set the name.
  
  @param string $name
  @return MenuItem|string
docstring_tokens: Get or set the name .