1 | <?php |
||
25 | abstract class AbstractDropdownTwigExtension extends AbstractTwigExtension { |
||
26 | |||
27 | /** |
||
28 | * Displays a Bootstrap dropdown "button". |
||
29 | * |
||
30 | * @param string|null $content The content. |
||
31 | * @param string|null $id The id. |
||
32 | * @param bool|null $expanded Expanded ? |
||
33 | * @param string|null $class The class. |
||
34 | * @return string Returns the Bootstrap dropdown "button". |
||
35 | */ |
||
36 | protected function bootstrapDropdownButton(?string $content, ?string $id, ?bool $expanded, ?string $class): string { |
||
55 | |||
56 | /** |
||
57 | * Displays a Bootstrap dropdown "divider". |
||
58 | * |
||
59 | * @return string Returns the Bootstrap dropdown "divider". |
||
60 | */ |
||
61 | protected function bootstrapDropdownDivider(): string { |
||
70 | |||
71 | /** |
||
72 | * Displays a Bootstrap dropdown "header". |
||
73 | * |
||
74 | * @param string|null $content The content. |
||
75 | * @return string Returns the Bootstrap dropdown "header". |
||
76 | */ |
||
77 | protected function bootstrapDropdownHeader(?string $content): string { |
||
85 | } |
||
86 |