1 | <?php |
||
24 | class TypographyTwigExtension extends AbstractTypographyTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Service name. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const SERVICE_NAME = "wbw.adminbsb.twig.extension.typography"; |
||
32 | |||
33 | /** |
||
34 | * Displays an AdminBSB bold text. |
||
35 | * |
||
36 | * @param array $args The arguments. |
||
37 | * @return string Returns the AdminBSB bold text. |
||
38 | */ |
||
39 | public function adminBSBBoldFunction(array $args = []): string { |
||
42 | |||
43 | /** |
||
44 | * Displays an AdminBSB italic text. |
||
45 | * |
||
46 | * @param array $args The arguments. |
||
47 | * @return string Returns the AdminBSB italic text. |
||
48 | */ |
||
49 | public function adminBSBItalicFunction(array $args = []): string { |
||
52 | |||
53 | /** |
||
54 | * Displays an AdminBSB line through text. |
||
55 | * |
||
56 | * @param array $args The arguments. |
||
57 | * @return string Returns the AdminBSB line through text. |
||
58 | */ |
||
59 | public function adminBSBLineThroughFunction(array $args = []): string { |
||
62 | |||
63 | /** |
||
64 | * Displays an AdminBSB overlined text. |
||
65 | * |
||
66 | * @param array $args The arguments. |
||
67 | * @return string Returns the AdminBSB overlined text. |
||
68 | */ |
||
69 | public function adminBSBOverlineFunction(array $args = []): string { |
||
72 | |||
73 | /** |
||
74 | * Displays an AdminBSB underline text. |
||
75 | * |
||
76 | * @param array $args The arguments. |
||
77 | * @return string Returns the AdminBSB underline text. |
||
78 | */ |
||
79 | public function adminBSBUnderlineFunction(array $args = []): string { |
||
82 | |||
83 | /** |
||
84 | * Get the Twig filters. |
||
85 | * |
||
86 | * @return TwigFilter[] Returns the Twig filters. |
||
87 | */ |
||
88 | public function getFilters(): array { |
||
91 | |||
92 | /** |
||
93 | * Get the Twig functions. |
||
94 | * |
||
95 | * @return TwigFunction[] Returns the Twig functions. |
||
96 | */ |
||
97 | public function getFunctions(): array { |
||
116 | } |
||
117 |