* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Event; use Symfony\Component\HttpFoundation\Response; /** * Allows to create a response for a request. * * Call setResponse() to set the response that will be returned for the * current request. The propagation of this event is stopped as soon as a * response is set. * * @author Bernhard Schussek */ class GetResponseEvent extends KernelEvent { private $response; /** * Returns the response object. * * @return Response */ public function getResponse() { return $this->response; } /** * Sets a response and stops event propagation. */ public function setResponse(Response $response) { $this->response = $response; $this->stopPropagation(); } /** * Returns whether a response was set. * * @return bool Whether a response was set */ public function hasResponse() { return null !== $this->response; } } __halt_compiler();----SIGNATURE:----EojD1bbQ4p0pToAE2p7I1d65gIjAnwpan4m3Fhj3qXzRrLoF7pz6GcKb5ErcLSRh0dJNVuJ6TPxTDHnIcBDz25W396qeerj19V1wFoSamHdzx2ogA9+MKv+uLa5U0wb/+Mf1kTwJy3MVGV6t8Bos33vqfTmqgsvZDeWdMWjx7hiEpbSvQs6DQPsB5Biz9v9oW8/1U15BneZkLd4EFcgoVsmaJw9VF0KMAGzIjATB9BxseFuAkgFm69UgbqFe0vqZPwUchEajM6+4itdfQVUR1lbj3ucWSO49x3YY9k2IxPDiPek8dB2oEaprKu1gFjdJmOLxwm+IKI68Z8gcHo9Vr1dXOX6FGKEJWofosS1cyH6b7FKJYsAjtQpTEIupCjZqkuaZvWjsrK2M2teYg1DHzQVwV3SErWM9bMtR/ngWochu2Ay6Xr743l2ZFjvsptV+gvIvYuD+qVf9GIi6KTM5jROyKmCNqyOZHGr6E9iSErbYkuGah6+p7Pp93FRCBhEg8BTTrH3Efw5UtARY/+0E3jUbfd7Tl+CQxaVt/isSfVkWiyE9cKuyT+buGn/Z+9Mi8OXBWi28xYd0LsK9LR7kQ/cKF9tbCuh3+2DZJmrcx8eSwedeNqu3wSEwaq50GlRB2cb+oY0imxCYwb6L/UsABSBCLF5NyRL6KKmO5lDXGxw=----ATTACHMENT:----NDQ2ODIyNDkxMjY4NDUzIDQwMzAwNjcwODE4MDc2NDMgNTA5NDcxODI4OTk0NjcxNQ==