1 | <?php |
||
25 | class ProgressBarTwigExtension extends BaseTwigExtension { |
||
26 | |||
27 | /** |
||
28 | * Service name. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | const SERVICE_NAME = "wbw.adminbsb.twig.extension.ui.progress_bar"; |
||
33 | |||
34 | /** |
||
35 | * Displays an AdminBSB progress bar "Material design". |
||
36 | * |
||
37 | * @param array $args The arguments. |
||
38 | * @return string Returns the AdminBSB progress bar "Material design". |
||
39 | */ |
||
40 | public function adminBSBProgressBarMaterialDesignFunction(array $args = []): string { |
||
43 | |||
44 | /** |
||
45 | * Get the Twig filters. |
||
46 | * |
||
47 | * @return TwigFilter[] Returns the Twig filters. |
||
48 | */ |
||
49 | public function getFilters(): array { |
||
52 | |||
53 | /** |
||
54 | * Get the Twig functions. |
||
55 | * |
||
56 | * @return TwigFunction[] Returns the Twig functions. |
||
57 | */ |
||
58 | public function getFunctions(): array { |
||
68 | } |
||
69 |