1 | <?php |
||
20 | class Hooks |
||
21 | { |
||
22 | /* |
||
23 | * Events |
||
24 | */ |
||
25 | |||
26 | /** |
||
27 | * Decorates the template resolver with an {@link ApplicationTemplateResolver} instance. |
||
28 | * |
||
29 | * @param TemplateResolver\AlterEvent $event |
||
30 | * @param TemplateResolver $target |
||
31 | */ |
||
32 | static public function alter_template_resolver(TemplateResolver\AlterEvent $event, TemplateResolver $target) |
||
36 | |||
37 | /* |
||
38 | * Prototypes |
||
39 | */ |
||
40 | |||
41 | /** |
||
42 | * Returns an engine collection. |
||
43 | * |
||
44 | * @return EngineCollection |
||
45 | */ |
||
46 | static public function get_template_engines() |
||
50 | |||
51 | /** |
||
52 | * Returns a clone of the shared template resolver. |
||
53 | * |
||
54 | * @return TemplateResolver |
||
55 | */ |
||
56 | static public function get_template_resolver() |
||
60 | |||
61 | /** |
||
62 | * Returns a clone of the shared renderer. |
||
63 | * |
||
64 | * @return Renderer |
||
65 | */ |
||
66 | static public function get_renderer() |
||
70 | |||
71 | /** |
||
72 | * Renders a template. |
||
73 | * |
||
74 | * @param Core|CoreBindings $app |
||
75 | * @param mixed $target_or_options |
||
76 | * @param array $additional_options |
||
77 | * |
||
78 | * @return mixed |
||
79 | */ |
||
80 | static public function render(Core $app, $target_or_options, array $additional_options = []) |
||
84 | } |
||
85 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.