public function __construct(EntityManager $em, \Zend_Controller_Router_Rewrite $router, Router $symfonyRouter) { $this->em = $em; $this->router = $router; $this->symfonyRouter = $symfonyRouter; }