1 | <?php |
||
23 | class Hooks |
||
24 | { |
||
25 | /* |
||
26 | * Config |
||
27 | */ |
||
28 | |||
29 | /** |
||
30 | * @param array $fragments |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | static public function synthesize_handlers_config(array $fragments) |
||
50 | |||
51 | /* |
||
52 | * Prototype |
||
53 | */ |
||
54 | |||
55 | /** |
||
56 | * @param Application $app |
||
57 | * |
||
58 | * @return MessageBus |
||
59 | */ |
||
60 | static public function get_message_bus(Application $app) |
||
64 | |||
65 | /** |
||
66 | * @param Application $app |
||
67 | * |
||
68 | * @return MessageHandlerProvider |
||
69 | */ |
||
70 | static public function get_message_handler_provider(Application $app) |
||
74 | |||
75 | /** |
||
76 | * @param Application $app |
||
77 | * |
||
78 | * @return null |
||
79 | */ |
||
80 | static public function get_message_pusher(Application $app) |
||
86 | |||
87 | /** |
||
88 | * @param Controller|PrototypedBindings $controller |
||
89 | * @param Message $message |
||
90 | * |
||
91 | * @return mixed |
||
92 | */ |
||
93 | static public function dispatch_message(Controller $controller, Message $message) |
||
97 | } |
||
98 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.