1 | <?php |
||
24 | class CodeTwigExtension extends AbstractCodeTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Service name. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const SERVICE_NAME = "wbw.bootstrap.twig.extension.css.code"; |
||
32 | |||
33 | /** |
||
34 | * Displays a Bootstrap basic block. |
||
35 | * |
||
36 | * @param array $args The arguments. |
||
37 | * @return string Returns the Bootstrap basic block. |
||
38 | */ |
||
39 | public function bootstrapBasicBlockFunction(array $args = []): string { |
||
42 | |||
43 | /** |
||
44 | * Displays a Bootstrap inline. |
||
45 | * |
||
46 | * @param array $args The arguments. |
||
47 | * @return string Returns the Bootstrap inline. |
||
48 | */ |
||
49 | public function bootstrapInlineFunction(array $args = []): string { |
||
52 | |||
53 | /** |
||
54 | * Displays a Bootstrap sample output. |
||
55 | * |
||
56 | * @param array $args The arguments. |
||
57 | * @return string Returns the Bootstrap smaple output. |
||
58 | */ |
||
59 | public function bootstrapSampleOutputFunction(array $args = []): string { |
||
62 | |||
63 | /** |
||
64 | * Displays a Bootstrap user input. |
||
65 | * |
||
66 | * @param array $args The arguments. |
||
67 | * @return string Returns the Bootstrap user input. |
||
68 | */ |
||
69 | public function bootstrapUserInputFunction(array $args = []): string { |
||
72 | |||
73 | /** |
||
74 | * Displays a Bootstrap variable. |
||
75 | * |
||
76 | * @param array $args The arguments. |
||
77 | * @return string Returns the Bootstrap variable. |
||
78 | */ |
||
79 | public function bootstrapVariableFunction(array $args = []): string { |
||
82 | |||
83 | /** |
||
84 | * Get the Twig functions. |
||
85 | * |
||
86 | * @return TwigFunction[] Returns the Twig functions. |
||
87 | */ |
||
88 | public function getFunctions(): array { |
||
106 | } |
||
107 |