container = $container; $this->app = $app; } protected function getRoute() { return $this->container['request']->getUri(); } protected function getPath() { $route = $this->container['request']->getUri(); return $route->getPath(); } protected function getDispatcher($dispatcher) { return $dispatcher; } }