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 public function initialize() |
||
44 | |||
45 | /** |
||
46 | * @todo |
||
47 | */ |
||
48 | protected function initializeMiddleware() |
||
51 | |||
52 | /** |
||
53 | * @return FormObject |
||
54 | */ |
||
55 | protected function getFormObject() |
||
59 | |||
60 | /** |
||
61 | * @return Request |
||
62 | */ |
||
63 | protected function getRequest() |
||
67 | |||
68 | /** |
||
69 | * @return Arguments |
||
70 | */ |
||
71 | protected function getArguments() |
||
75 | |||
76 | /** |
||
77 | * @return int |
||
78 | */ |
||
79 | public function getPriority() |
||
83 | |||
84 | /** |
||
85 | * Returns the name of the signal on which this middleware is bound. |
||
86 | * |
||
87 | * @return string |
||
88 | * @throws EntryNotFoundException |
||
89 | */ |
||
90 | final public function getBoundSignalName() |
||
102 | } |
||
103 |