original_string: public function render(ItemInterface $item, array $options = array())
      {
          $options = array_merge($this->defaultOptions, $options);
          $options['rootLevel'] = $item->getLevel();
          return $this->getMenu($item, $options) ?: '';
      }
code: public function render(ItemInterface $item, array $options = array())
      {
          $options = array_merge($this->defaultOptions, $options);
          $options['rootLevel'] = $item->getLevel();
          return $this->getMenu($item, $options) ?: '';
      }
code_tokens: public function render ( ItemInterface $ item , array $ options = array ( ) ) { $ options = array_merge ( $ this -> defaultOptions , $ options ) ; $ options [ 'rootLevel' ] = $ item -> getLevel ( ) ; return $ this -> getMenu ( $ item , $ options ) ? : '' ; }
docstring: Renders menu tree.
  
  Common options:
  - depth: The depth at which the item is rendered
  null: no limit
  0: no children
  1: only direct children
  - currentAsLink: whether the current item should be a link
  - currentClass: class added to the current item
  - ancestorClass: class added to the ancestors of the current item
  - firstClass: class added to the first child
  - lastClass: class added to the last child
  
  @param ItemInterface $item    Menu item
  @param array         $options some rendering options
  
  @return string
docstring_tokens: Renders menu tree .