| 1 | <?php |
||
| 11 | final class TwigMetadataProcessor implements MetadataProcessorInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Twig_Environment |
||
| 15 | */ |
||
| 16 | private $twig; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param Twig_Environment $twig |
||
| 20 | */ |
||
| 21 | public function __construct(Twig_Environment $twig) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public function process(MetadataInterface $metadata, array $options = []) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param mixed $property |
||
| 40 | * @param array $options |
||
| 41 | * |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | private function processProperty($property, array $options) |
||
| 66 | } |
||
| 67 |