1 | <?php |
||
24 | abstract class AbstractFontAwesomeTwigExtension extends AbstractTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Constructor. |
||
28 | * |
||
29 | * @param Twig_Environment $twigEnvironment The twig environment. |
||
30 | */ |
||
31 | protected function __construct(Twig_Environment $twigEnvironment) { |
||
34 | |||
35 | /** |
||
36 | * Displays a Font Awesome icon. |
||
37 | * |
||
38 | * @param string $font The font. |
||
39 | * @param string $name The name. |
||
40 | * @param string $size The size. |
||
41 | * @param bool $fixedWidth Fixed width ? |
||
42 | * @param bool $bordered Bordered ? |
||
43 | * @param string $pull The pull. |
||
44 | * @param string $anime The animation. |
||
45 | * @param string $style The style. |
||
46 | * @return string Returns the Font Awesome icon. |
||
47 | */ |
||
48 | protected function fontAwesomeIcon($font, $name, $size, $fixedWidth, $bordered, $pull, $anime, $style) { |
||
71 | |||
72 | /** |
||
73 | * Displays a Font Awesome list. |
||
74 | * |
||
75 | * @param array|string $items The items. |
||
76 | * @return string Returns the Font Awesome list. |
||
77 | */ |
||
78 | protected function fontAwesomeList($items) { |
||
86 | |||
87 | /** |
||
88 | * Displays a Font Awesome list icon. |
||
89 | * |
||
90 | * @param string $icon The icon. |
||
91 | * @param string $content The content. |
||
92 | * @return string Returns the Font Awesome list icon. |
||
93 | */ |
||
94 | protected function fontAwesomeListIcon($icon, $content) { |
||
103 | |||
104 | } |
||
105 |