/** * @Route("/live/{id}", name="pumukit_live_id") * @Template("PumukitLiveBundle:Default:index.html.twig") */ public function indexAction(Live $live) { $this->updateBreadcrumbs($live->getName(), "pumukit_live_id", array("id" => $live->getId())); return $this->iframeAction($live); }
public function testToString() { $live = new Live(); $this->assertEquals($live->getName(), $live->__toString()); }