1 | <?php |
||
25 | class MaterialDesignIconicFontTwigExtension extends AbstractMaterialDesignIconicFontTwigExtension implements IconRendererInterface { |
||
26 | |||
27 | /** |
||
28 | * Service name. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | const SERVICE_NAME = "wbw.core.twig.extension.asset.material_design_iconic_font"; |
||
33 | |||
34 | /** |
||
35 | * Get the Twig filters. |
||
36 | * |
||
37 | * @return TwigFilter[] Returns the Twig filters. |
||
38 | */ |
||
39 | public function getFilters() { |
||
48 | |||
49 | /** |
||
50 | * Get the Twig functions. |
||
51 | * |
||
52 | * @return TwigFunction[] Returns the Twig functions. |
||
53 | */ |
||
54 | public function getFunctions() { |
||
60 | |||
61 | /** |
||
62 | * Displays a Material Design Iconic Font icon. |
||
63 | * |
||
64 | * @param array $args The arguments. |
||
65 | * @return string Returns the Material Design Iconic Font icon. |
||
66 | */ |
||
67 | public function materialDesignIconicFontIconFunction(array $args = []) { |
||
70 | |||
71 | /** |
||
72 | * Displays a Material Design Iconic Font list. |
||
73 | * |
||
74 | * @param array|string $items The items. |
||
75 | * @return string Returns the Material Design Iconic Font list. |
||
76 | */ |
||
77 | public function materialDesignIconicFontListFilter($items) { |
||
80 | |||
81 | /** |
||
82 | * Displays a Material Design Iconic Font list icon. |
||
83 | * |
||
84 | * @param string $icon The icon. |
||
85 | * @param string $content The content. |
||
86 | * @return string Returns the Material Design Iconic Font list icon. |
||
87 | */ |
||
88 | public function materialDesignIconicFontListIconFilter($icon, $content) { |
||
91 | |||
92 | /** |
||
93 | * {@inheritDoc} |
||
94 | */ |
||
95 | public function renderIcon($name, $style) { |
||
98 | } |
||
99 |