getServiceManager()->get(\oat\tao\model\mvc\DefaultUrlService::SERVICE_ID); $routeService->setRoute( 'logoutDelivery', [ 'ext' => 'taoDelivery', 'controller' => 'DeliveryServer', 'action' => 'logout', 'redirect' => [ 'class' => \oat\tao\model\mvc\DefaultUrlModule\TaoActionResolver::class, 'options' => [ 'action' => 'entry', 'controller' => 'Main', 'ext' => 'tao' ] ], ] ); $this->getServiceManager()->register(\oat\tao\model\mvc\DefaultUrlService::SERVICE_ID, $routeService); } }