1 | <?php |
||
25 | class GlyphiconTwigExtension extends AbstractGlyphiconTwigExtension implements IconRendererInterface { |
||
26 | |||
27 | /** |
||
28 | * Service name. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | const SERVICE_NAME = "wbw.bootstrap.twig.extension.component.glyphicon"; |
||
33 | |||
34 | /** |
||
35 | * Displays a Bootstrap glyphicon. |
||
36 | * |
||
37 | * @param array $args The arguments. |
||
38 | * @return string Returns the Bootstrap glyphicon. |
||
39 | */ |
||
40 | public function bootstrapGlyphiconFunction(array $args = []) { |
||
43 | |||
44 | /** |
||
45 | * Get the Twig functions. |
||
46 | * |
||
47 | * @return TwigFunction[] Returns the Twig functions. |
||
48 | */ |
||
49 | public function getFunctions() { |
||
55 | |||
56 | /** |
||
57 | * Get the Twig functions. |
||
58 | * |
||
59 | * @return TwigFunction[] Returns the Twig functions. |
||
60 | */ |
||
61 | protected function getFunctions3() { |
||
67 | |||
68 | /** |
||
69 | * {@inheritDoc} |
||
70 | */ |
||
71 | public function renderIcon($name, $style) { |
||
74 | } |
||
75 |