1 | <?php |
||
23 | class ButtonGroupTwigExtension extends AbstractButtonGroupTwigExtension { |
||
24 | |||
25 | /** |
||
26 | * Service name. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | const SERVICE_NAME = "wbw.bootstrap.twig.extension.component.button_group"; |
||
31 | |||
32 | /** |
||
33 | * Displays a Bootstrap button group "basic". |
||
34 | * |
||
35 | * @param array $args The arguments. |
||
36 | * @param array $buttons The buttons. |
||
37 | * @return string Returns the Bootstrap button group "basic". |
||
38 | */ |
||
39 | public function bootstrapButtonGroupBasicFunction(array $args = [], array $buttons = []): string { |
||
42 | |||
43 | /** |
||
44 | * Displays a Bootstrap button group "toolbar". |
||
45 | * |
||
46 | * @param array $args The arguments. |
||
47 | * @param array $buttons The buttons. |
||
48 | * @return string Returns the Bootstrap button group "toolbar". |
||
49 | */ |
||
50 | public function bootstrapButtonGroupToolbarFunction(array $args = [], array $buttons = []): string { |
||
53 | |||
54 | /** |
||
55 | * Get the Twig functions. |
||
56 | * |
||
57 | * @return TwigFunction[] Returns the Twig functions. |
||
58 | */ |
||
59 | public function getFunctions(): array { |
||
68 | } |
||
69 |