1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?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;
- }
- }
|