1 | <?php |
||
30 | class HttpEvents extends Event { |
||
31 | /** @var string */ |
||
32 | const EVENT_404 = 'resource.not_found'; |
||
33 | |||
34 | /** @var string */ |
||
35 | protected $event; |
||
36 | /** @var IRequest */ |
||
37 | protected $request; |
||
38 | |||
39 | /** |
||
40 | * @param string $event |
||
41 | * @param IRequest $request |
||
42 | * @since 10.0.3 |
||
43 | */ |
||
44 | public function __construct($event, $request) { |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | * @since 10.0.3 |
||
52 | */ |
||
53 | public function getEvent() { |
||
56 | |||
57 | |||
58 | /** |
||
59 | * @return IRequest |
||
60 | * @since 10.0.3 |
||
61 | */ |
||
62 | public function getRequest() { |
||
65 | } |
||
66 |