1 | <?php |
||
25 | class IconTwigExtension extends AbstractIconTwigExtension implements IconRendererTwigExtensionInterface { |
||
26 | |||
27 | /** |
||
28 | * Service name. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | const SERVICE_NAME = "webeweb.adminbsbbundle.twig.extension.ui.icon"; |
||
33 | |||
34 | /** |
||
35 | * Constructor. |
||
36 | */ |
||
37 | public function __construct() { |
||
40 | |||
41 | /** |
||
42 | * Displays an AdminBSB basic icon. |
||
43 | * |
||
44 | * @param array $args The arguments. |
||
45 | * @return string Returns the AdminBSB basic icon. |
||
46 | */ |
||
47 | public function adminBSBIconBasicFunction(array $args = []) { |
||
50 | |||
51 | /** |
||
52 | * Displays an AdminBSB material design icon. |
||
53 | * |
||
54 | * @param array $args The arguments. |
||
55 | * @return string Returns the AdminBSB material design icon. |
||
56 | */ |
||
57 | public function adminBSBIconMaterialDesignFunction(array $args = []) { |
||
60 | |||
61 | /** |
||
62 | * Get the Twig functions. |
||
63 | * |
||
64 | * @return array Returns the Twig functions. |
||
65 | */ |
||
66 | public function getFunctions() { |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function renderIcon($name, $style) { |
||
79 | |||
80 | } |
||
81 |