1 | <?php |
||
24 | abstract class AbstractMiddleware implements MiddlewareInterface |
||
25 | { |
||
26 | use StateMiddlewareDependencyTrait; |
||
27 | |||
28 | /** |
||
29 | * @param array $options |
||
30 | */ |
||
31 | public function __construct(array $options = []) |
||
34 | |||
35 | /** |
||
36 | * @todo |
||
37 | */ |
||
38 | final protected function initialize() |
||
42 | |||
43 | /** |
||
44 | * @return FormObject |
||
45 | */ |
||
46 | protected function getFormObject() |
||
50 | |||
51 | /** |
||
52 | * @return Request |
||
53 | */ |
||
54 | protected function getRequest() |
||
58 | |||
59 | /** |
||
60 | * @return Arguments |
||
61 | */ |
||
62 | protected function getRequestArguments() |
||
66 | |||
67 | /** |
||
68 | * @return int |
||
69 | */ |
||
70 | public function getPriority() |
||
74 | |||
75 | /** |
||
76 | * Returns the name of the signal on which this middleware is bound. |
||
77 | * |
||
78 | * @return string |
||
79 | * @throws EntryNotFoundException |
||
80 | */ |
||
81 | final public function getBoundSignalName() |
||
93 | } |
||
94 |