1 | <?php |
||
25 | abstract class AbstractMiddleware implements MiddlewareInterface |
||
26 | { |
||
27 | use StateMiddlewareDependencyTrait; |
||
28 | |||
29 | /** |
||
30 | * @param array $options |
||
31 | */ |
||
32 | public function __construct(array $options = []) |
||
35 | |||
36 | /** |
||
37 | * @todo |
||
38 | */ |
||
39 | final public function initialize() |
||
45 | |||
46 | /** |
||
47 | * @todo |
||
48 | */ |
||
49 | protected function initializeMiddleware() |
||
52 | |||
53 | /** |
||
54 | * @return FormObject |
||
55 | */ |
||
56 | protected function getFormObject() |
||
60 | |||
61 | /** |
||
62 | * @return FormResult |
||
63 | */ |
||
64 | protected function getResult() |
||
68 | |||
69 | /** |
||
70 | * @return Request |
||
71 | */ |
||
72 | protected function getRequest() |
||
76 | |||
77 | /** |
||
78 | * @return Arguments |
||
79 | */ |
||
80 | protected function getArguments() |
||
84 | |||
85 | /** |
||
86 | * @return int |
||
87 | */ |
||
88 | public function getPriority() |
||
92 | |||
93 | /** |
||
94 | * Returns the name of the signal on which this middleware is bound. |
||
95 | * |
||
96 | * @return string |
||
97 | * @throws EntryNotFoundException |
||
98 | */ |
||
99 | final public function getBoundSignalName() |
||
111 | } |
||
112 |