1 | <?php |
||
25 | class IconUITwigExtension extends AbstractUITwigExtension implements IconRendererTwigExtensionInterface { |
||
26 | |||
27 | /** |
||
28 | * Service name. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | const SERVICE_NAME = "webeweb.bundle.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 adminBSBBasicIconFunction(array $args = []) { |
||
50 | |||
51 | /** |
||
52 | * Get the Twig functions. |
||
53 | * |
||
54 | * @return array Returns the Twig functions. |
||
55 | */ |
||
56 | public function getFunctions() { |
||
62 | |||
63 | /** |
||
64 | * Displays an AdminBSB material design icon. |
||
65 | * |
||
66 | * @param array $args The arguments. |
||
67 | * @return string Returns the AdminBSB material design icon. |
||
68 | */ |
||
69 | public function adminBSBMaterialDesignIconFunction(array $args = []) { |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function renderIcon($name, $style) { |
||
79 | |||
80 | } |
||
81 |