Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
24 | abstract class AbstractSyntaxHighlighterTwigExtension extends Twig_Extension { |
||
25 | |||
26 | /** |
||
27 | * Constructor. |
||
28 | */ |
||
29 | protected function __construct() { |
||
30 | // NOTHING TO DO. |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Displays a SyntaxHighlighter. |
||
35 | * |
||
36 | * @param string $language The language. |
||
37 | * @param string $content The content. |
||
38 | * @return string Returns the SyntaxHightlighter. |
||
39 | */ |
||
40 | protected function syntaxHighlighter($language, $content) { |
||
56 |