* * 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:----BogRlhBlM32bkqpiX3oFswPJi3Grph5QHxCY7fElhb5GUllcsxuzk7s80Wtp31K6Zp4GmTq3PckR1QpNKGW5mav9srCFYCCOGL67IBRn55RRmMWXOU3xOl+zyhtAgaUJU2WC+9ZTIdAgKZlvA+o6+O6H+yM+1lI0Xi47UsiuG3BnMmWX16YaMmW+MRLYprtHU+SXFO8eeGN76GYYSGQRUaneB/xNcX+oaIyYnEdwSdUGCefFYFv3Pn10GLmedp3Tx1B2W0LaqthD4tWd+tazb7wJ/Mh5rpDLc5VWEGp7F5Wc/OXTHOxk3gzGYpwD3IZE6tfKgcxtn/+WMJ9Ts6m0JPXwSufgh3d8XptQyMIhLZkySKfjV6baz6n5Yj8BBLjg5N8v6bKUCwGtwekKrYgk0SldeqL4v0uwpr0chUkSktHFbiwK5H50U7t8qqhJ5PtjKDwzmaX6bosG56UvHK9QAtPWPPSEv0AeVMW3mzzYwfyYSGabmhgnsDrfa/REuN3TY6pHsqhEpIcPljhqgsSb/OBrggWX3A7SyLjGNReVsmx8KkDmmDVDzsBI4fLg01hd4+xwRdxAyJvBwTUef357dIzmPt2/x4FeYSfcZSWS7URKE7UdoEPsdIH5YLSA+/8Xidhmm3TwnDy68x/pWnejs/kLU/VPKyAmkUa7Y/upK1U=----ATTACHMENT:----MjMyNjI4MzE1MTUzNTQ2MiAyNDg1NDg5MDU1MzQ4NTE5IDI0MTI1OTk0MTYyMDQyNzA=