1 | <?php |
||
22 | final class TwigVisitor extends BaseVisitor implements NodeVisitorInterface |
||
23 | { |
||
24 | private $worker; |
||
25 | |||
26 | 5 | public function __construct(Worker $worker = null) |
|
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 5 | public function enterNode(Node $node, Environment $env): Node |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 5 | public function leaveNode(Node $node, Environment $env): ?Node |
|
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | 5 | public function getPriority() |
|
66 | } |
||
67 |