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