Esempio n. 1
0
 protected function makeService(RouteProviderInterface $provider = null)
 {
     return MenuizerService::create($provider);
 }
Esempio n. 2
0
 /** @test */
 public function it_renders_a_previously_defined_menu()
 {
     $this->menuizer->define('menu_name', array('#foo'));
     $renderedMenu = $this->menuizer->render('menu_name');
     $this->assertContains('href="#foo"', $renderedMenu);
 }