protected function dispatch($url) { $this->di->setShared('response', $this->application->handle($url)); }