src/Event/Subscriber/RedirectSubscriber.php 1 location
|
@@ 131-137 (lines=7) @@
|
128 |
|
/** |
129 |
|
* {@inheritdoc} |
130 |
|
*/ |
131 |
|
public static function getSubscribedEvents() |
132 |
|
{ |
133 |
|
return array( |
134 |
|
Events::REQUEST_SENT => array('onRequestSent', 0), |
135 |
|
Events::MULTI_REQUEST_SENT => array('onMultiRequestSent', 0), |
136 |
|
); |
137 |
|
} |
138 |
|
} |
139 |
|
|
src/Event/Subscriber/StatusCodeSubscriber.php 1 location
|
@@ 94-100 (lines=7) @@
|
91 |
|
/** |
92 |
|
* {@inheritdoc} |
93 |
|
*/ |
94 |
|
public static function getSubscribedEvents() |
95 |
|
{ |
96 |
|
return array( |
97 |
|
Events::REQUEST_SENT => array('onRequestSent', 200), |
98 |
|
Events::MULTI_REQUEST_SENT => array('onMultiRequestSent', 200), |
99 |
|
); |
100 |
|
} |
101 |
|
|
102 |
|
/** |
103 |
|
* Creates a status code exception. |