original_string: public function addTitle($title, $class = 'Menu_Advanced_Title')
      {
          $i = $this->add(
              $class,
              null,
              null,
              array_merge($this->defaultTemplate(), array('Title'))
          );
          /** @type Menu_Advanced_Title $i */
  
          $i->set($title);
  
          return $i;
      }
code: public function addTitle($title, $class = 'Menu_Advanced_Title')
      {
          $i = $this->add(
              $class,
              null,
              null,
              array_merge($this->defaultTemplate(), array('Title'))
          );
          /** @type Menu_Advanced_Title $i */
  
          $i->set($title);
  
          return $i;
      }
code_tokens: public function addTitle ( $ title , $ class = 'Menu_Advanced_Title' ) { $ i = $ this -> add ( $ class , null , null , array_merge ( $ this -> defaultTemplate ( ) , array ( 'Title' ) ) ) ; /** @type Menu_Advanced_Title $i */ $ i -> set ( $ title ) ; return $ i ; }
docstring: Adds a title to your menu.
docstring_tokens: Adds a title to your menu .