12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- namespace Symfony\Component\HttpKernel\Event;
- use Symfony\Component\HttpFoundation\Response;
- class GetResponseEvent extends KernelEvent
- {
- private $response;
-
- public function getResponse()
- {
- return $this->response;
- }
-
- public function setResponse(Response $response)
- {
- $this->response = $response;
- $this->stopPropagation();
- }
-
- public function hasResponse()
- {
- return null !== $this->response;
- }
- }
|