public function handleRequest(RequestInterface $request, ConnectionInterface $conn) { $response = $this->app->handle($request->getUrl(true)->getPath()); $content = $response->getContent(); $conn->send($content); }
/** * Shortcut to get Phalcon application's Di * * @return \Phalcon\DiInterface */ public function getDi() { return $this->application->getDI(); }