1 | <?php |
||
25 | abstract class AbstractTwigExtension extends BaseTwigExtension { |
||
26 | |||
27 | /** |
||
28 | * Constructor. |
||
29 | * |
||
30 | * @param Twig_Environment $twigEnvironment The Twig environment. |
||
31 | */ |
||
32 | protected function __construct(Twig_Environment $twigEnvironment) { |
||
35 | |||
36 | /** |
||
37 | * Fix a color. |
||
38 | * |
||
39 | * @param string $name The color name. |
||
40 | * @param string $prefix The color prefix. |
||
41 | * @return string Returns the prefix color in case of success, default color otherwise. |
||
42 | */ |
||
43 | public static function fixColor($name, $prefix = "") { |
||
49 | |||
50 | } |
||
51 |