[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12 namespace Symfony\Component\HttpKernel\Event; 13 14 use Symfony\Component\HttpKernel\HttpKernelInterface; 15 use Symfony\Component\EventDispatcher\Event; 16 use Symfony\Component\HttpFoundation\Request; 17 use Symfony\Component\HttpFoundation\Response; 18 19 /** 20 * Allows to execute logic after a response was sent. 21 * 22 * @author Jordi Boggiano <j.boggiano@seld.be> 23 */ 24 class PostResponseEvent extends Event 25 { 26 /** 27 * The kernel in which this event was thrown. 28 * 29 * @var HttpKernelInterface 30 */ 31 private $kernel; 32 33 private $request; 34 35 private $response; 36 37 public function __construct(HttpKernelInterface $kernel, Request $request, Response $response) 38 { 39 $this->kernel = $kernel; 40 $this->request = $request; 41 $this->response = $response; 42 } 43 44 /** 45 * Returns the kernel in which this event was thrown. 46 * 47 * @return HttpKernelInterface 48 */ 49 public function getKernel() 50 { 51 return $this->kernel; 52 } 53 54 /** 55 * Returns the request for which this event was thrown. 56 * 57 * @return Request 58 */ 59 public function getRequest() 60 { 61 return $this->request; 62 } 63 64 /** 65 * Returns the response for which this event was thrown. 66 * 67 * @return Response 68 */ 69 public function getResponse() 70 { 71 return $this->response; 72 } 73 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |