| 1 | <?php |
||
| 12 | final class CodeHandler extends ProtoHandler |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $lang; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * |
||
| 22 | * @var SyntaxHighlighterInterface |
||
| 23 | */ |
||
| 24 | private $syntaxHighlighter; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * |
||
| 28 | */ |
||
| 29 | 18 | public function __construct(SyntaxHighlighterInterface $syntaxHighlighter) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * |
||
| 43 | * @param array $data |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 1 | public function draw(array $data) |
|
| 59 | } |
||
| 60 |