Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony-cmf/routing/Event/RouterMatchEvent.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 /* | |
4 * This file is part of the Symfony CMF package. | |
5 * | |
6 * (c) 2011-2015 Symfony CMF | |
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\Cmf\Component\Routing\Event; | |
13 | |
14 use Symfony\Component\EventDispatcher\Event; | |
15 use Symfony\Component\HttpFoundation\Request; | |
16 | |
17 class RouterMatchEvent extends Event | |
18 { | |
19 /** | |
20 * @var Request | |
21 */ | |
22 protected $request; | |
23 | |
24 /** | |
25 * @param Request $request | |
26 */ | |
27 public function __construct(Request $request = null) | |
28 { | |
29 $this->request = $request; | |
30 } | |
31 | |
32 /** | |
33 * @return Request | null | |
34 */ | |
35 public function getRequest() | |
36 { | |
37 return $this->request; | |
38 } | |
39 } |