1 | <?php |
||
24 | class MeteoconsTwigExtension extends AbstractMeteoconsTwigExtension implements IconRendererInterface { |
||
25 | |||
26 | /** |
||
27 | * Service name. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const SERVICE_NAME = "wbw.core.twig.extension.asset.meteocons"; |
||
32 | |||
33 | /** |
||
34 | * Get the Twig functions. |
||
35 | * |
||
36 | * @return TwigFunction[] Returns the Twig functions. |
||
37 | */ |
||
38 | public function getFunctions() { |
||
43 | |||
44 | /** |
||
45 | * Displays a Meteocons icon. |
||
46 | * |
||
47 | * @param array $args The arguments. |
||
48 | * @return string Returns a Meteocons icon. |
||
49 | */ |
||
50 | public function meteoconsIconFunction(array $args = []) { |
||
53 | |||
54 | /** |
||
55 | * {@inheritDoc} |
||
56 | */ |
||
57 | public function renderIcon($name, $style) { |
||
60 | } |
||
61 |