src/Zicht/Bundle/MenuBundle/Provider/DatabaseMenuProvider.php
public function get($name, array $options = array())
    {
        return $this->builder->build($name, $this->container->get('request_stack')->getCurrentRequest());
    }
public function get($name, array $options = array())
    {
        return $this->builder->build($name, $this->container->get('request_stack')->getCurrentRequest());
    }
public function get ( $ name , array $ options = array ( ) ) { return $ this -> builder -> build ( $ name , $ this -> container -> get ( 'request_stack' ) -> getCurrentRequest ( ) ) ; }
Retrieves a menu by its name

@param string $name
@param array $options
@return \Knp\Menu\ItemInterface
@throws \InvalidArgumentException if the menu does not exists
Retrieves a menu by its name