| 1 | <?php |
||
| 11 | class TwigSyntaxValidator extends ConstraintValidator |
||
| 12 | { |
||
| 13 | protected $environment; |
||
| 14 | |||
| 15 | 8 | public function __construct(\Twig_Environment $environment) |
|
| 19 | |||
| 20 | 8 | public function validate($value, Constraint $constraint) |
|
| 42 | |||
| 43 | 5 | protected function getEnvironment(TwigSyntax $constraint) |
|
| 52 | } |
||
| 53 |