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 = []) |
||
35 | |||
36 | /** |
||
37 | * @todo |
||
38 | */ |
||
39 | final protected function initialize() |
||
43 | |||
44 | /** |
||
45 | * @return FormObject |
||
46 | */ |
||
47 | protected function getFormObject() |
||
51 | |||
52 | /** |
||
53 | * @return Request |
||
54 | */ |
||
55 | protected function getRequest() |
||
59 | |||
60 | /** |
||
61 | * @return Arguments |
||
62 | */ |
||
63 | protected function getRequestArguments() |
||
67 | |||
68 | /** |
||
69 | * @return int |
||
70 | */ |
||
71 | public function getPriority() |
||
75 | |||
76 | /** |
||
77 | * Returns the name of the signal on which this middleware is attached. |
||
78 | * |
||
79 | * @return string |
||
80 | * @throws EntryNotFoundException |
||
81 | */ |
||
82 | final public function getAttachedSignalName() |
||
94 | } |
||
95 | |||
96 |