1 | <?php |
||
27 | abstract class AbstractMiddleware implements MiddlewareInterface |
||
28 | { |
||
29 | use StateMiddlewareDependencyTrait; |
||
30 | |||
31 | /** |
||
32 | * @param array $options |
||
33 | */ |
||
34 | public function __construct(array $options = []) |
||
37 | |||
38 | /** |
||
39 | * @todo |
||
40 | */ |
||
41 | final public function initialize() |
||
47 | |||
48 | /** |
||
49 | * @todo |
||
50 | */ |
||
51 | protected function initializeMiddleware() |
||
54 | |||
55 | /** |
||
56 | * @todo |
||
57 | */ |
||
58 | final protected function stopPropagation() |
||
62 | |||
63 | /** |
||
64 | * @todo |
||
65 | * |
||
66 | * @param string $actionName |
||
67 | * @param string $controllerName |
||
68 | * @param string $extensionName |
||
69 | * @param array $arguments |
||
70 | */ |
||
71 | final protected function forward($actionName, $controllerName = null, $extensionName = null, array $arguments = []) |
||
82 | |||
83 | /** |
||
84 | * @todo |
||
85 | * |
||
86 | * @param string $actionName |
||
87 | * @param string $controllerName |
||
88 | * @param string $extensionName |
||
89 | * @param array $arguments |
||
90 | * @param string $pageUid |
||
91 | * @param int $delay |
||
92 | * @param int $statusCode |
||
93 | * @throws RedirectException |
||
94 | */ |
||
95 | final protected function redirect( |
||
114 | |||
115 | /** |
||
116 | * @return FormObject |
||
117 | */ |
||
118 | final protected function getFormObject() |
||
122 | |||
123 | /** |
||
124 | * @return FormResult |
||
125 | */ |
||
126 | final protected function getResult() |
||
130 | |||
131 | /** |
||
132 | * @return Request |
||
133 | */ |
||
134 | final protected function getRequest() |
||
138 | |||
139 | /** |
||
140 | * @return Arguments |
||
141 | */ |
||
142 | final protected function getArguments() |
||
146 | |||
147 | /** |
||
148 | * @return array |
||
149 | */ |
||
150 | final protected function getSettings() |
||
154 | |||
155 | /** |
||
156 | * @return int |
||
157 | */ |
||
158 | public function getPriority() |
||
162 | |||
163 | /** |
||
164 | * Returns the name of the signal on which this middleware is bound. |
||
165 | * |
||
166 | * @return string |
||
167 | * @throws EntryNotFoundException |
||
168 | */ |
||
169 | final public function getBoundSignalName() |
||
181 | } |
||
182 |