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