public terminate ( |
||
$request | ||
$response |
public function terminate(Request $request, Response $response)
{
$this->dispatcher->dispatch(KernelEvents::TERMINATE, new PostResponseEvent($this, $request, $response));
}
public function run() { $this->response = $this->kernel->handle($this->request); $this->response->send(); $this->kernel->terminate($this->request, $this->response); return $this; }