1 | <?php |
||
24 | class GridTwigExtension extends AbstractGridTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Service name. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const SERVICE_NAME = "wbw.bootstrap.twig.extension.css.grid"; |
||
32 | |||
33 | /** |
||
34 | * Displays a Bootstrap grid. |
||
35 | * |
||
36 | * @param array $args The arguments. |
||
37 | * @return string Returns the Bootstrap grid. |
||
38 | */ |
||
39 | public function bootstrapGridFunction(array $args = []): string { |
||
50 | |||
51 | /** |
||
52 | * Displays a Bootstrap grid with offset. |
||
53 | * |
||
54 | * @param array $args The arguments. |
||
55 | * @return string Returns the Bootstrap grid with offset. |
||
56 | */ |
||
57 | public function bootstrapGridOffsetFunction(array $args = []): string { |
||
60 | |||
61 | /** |
||
62 | * Displays a Bootstrap grid with pull. |
||
63 | * |
||
64 | * @param array $args The arguments. |
||
65 | * @return string Returns the Bootstrap grid with pull. |
||
66 | */ |
||
67 | public function bootstrapGridPullFunction(array $args = []): string { |
||
70 | |||
71 | /** |
||
72 | * Displays a Bootstrap grid with push. |
||
73 | * |
||
74 | * @param array $args The arguments. |
||
75 | * @return string Returns the Bootstrap grid with push. |
||
76 | */ |
||
77 | public function bootstrapGridPushFunction(array $args = []): string { |
||
80 | |||
81 | /** |
||
82 | * Displays a Bootstrap grid with stacked-to-horizontal. |
||
83 | * |
||
84 | * @param array $args The arguments. |
||
85 | * @return string Returns the Bootstrap grid with stacked-to-horizontal. |
||
86 | */ |
||
87 | public function bootstrapGridStackedFunction(array $args = []): string { |
||
90 | |||
91 | /** |
||
92 | * Get the Twig functions. |
||
93 | * |
||
94 | * @return TwigFunction[] Returns the Twig functions. |
||
95 | */ |
||
96 | public function getFunctions(): array { |
||
105 | } |
||
106 |