1 | <?php |
||
8 | class CakeHttpFlowEvent extends BaseCakeEvent implements PennyEventInterface |
||
9 | { |
||
10 | /** |
||
11 | * Representation of an outgoing, client-side request. |
||
12 | * |
||
13 | * @var mixed |
||
14 | */ |
||
15 | private $request; |
||
16 | |||
17 | /** |
||
18 | * Representation of an outgoing, server-side response. |
||
19 | * |
||
20 | * @var mixed |
||
21 | */ |
||
22 | private $response; |
||
23 | |||
24 | /** |
||
25 | * Exception thrown during execution. |
||
26 | * |
||
27 | * @var Exception |
||
28 | */ |
||
29 | private $exception; |
||
30 | |||
31 | /** |
||
32 | * Routing information. |
||
33 | * |
||
34 | * @var RouteInfoInterface |
||
35 | */ |
||
36 | private $routeInfo; |
||
37 | |||
38 | /** |
||
39 | * {@inheritDoc} |
||
40 | */ |
||
41 | 14 | public function __construct($name, $subject = null, $data = null) |
|
47 | |||
48 | /** |
||
49 | * {@inheritDoc} |
||
50 | */ |
||
51 | 14 | public function setName($name) |
|
55 | |||
56 | /** |
||
57 | * {@inheritDoc} |
||
58 | */ |
||
59 | 2 | public function getName() |
|
63 | |||
64 | /** |
||
65 | * {@inheritDoc} |
||
66 | */ |
||
67 | 2 | public function getResponse() |
|
71 | |||
72 | /** |
||
73 | * {@inheritDoc} |
||
74 | */ |
||
75 | 2 | public function setResponse($response) |
|
79 | |||
80 | /** |
||
81 | * {@inheritDoc} |
||
82 | */ |
||
83 | 2 | public function setRequest($request) |
|
87 | |||
88 | /** |
||
89 | * {@inheritDoc} |
||
90 | */ |
||
91 | 2 | public function getRequest() |
|
95 | |||
96 | /** |
||
97 | * {@inheritDoc} |
||
98 | */ |
||
99 | 2 | public function getRouteInfo() |
|
103 | |||
104 | /** |
||
105 | * {@inheritDoc} |
||
106 | */ |
||
107 | 2 | public function setRouteInfo(RouteInfoInterface $routerInfo) |
|
111 | |||
112 | /** |
||
113 | * {@inheritDoc} |
||
114 | */ |
||
115 | 2 | public function setException(Exception $exception) |
|
119 | |||
120 | /** |
||
121 | * {@inheritDoc} |
||
122 | */ |
||
123 | 2 | public function getException() |
|
127 | |||
128 | /** |
||
129 | * {@inheritDoc} |
||
130 | */ |
||
131 | 2 | public function stopPropagation($flag = true) |
|
135 | } |
||
136 |