| 1 | <?php |
||
| 10 | class DataCollectorExtension extends \Twig_Extension |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var FileLocatorInterface |
||
| 14 | */ |
||
| 15 | protected $fileLocator; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param FileLocatorInterface $fileLocator |
||
| 19 | */ |
||
| 20 | 16 | public function __construct(FileLocatorInterface $fileLocator) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | 1 | public function getFunctions() |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $schemaLocation |
||
| 37 | * |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | 14 | public function schemaFileExists(string $schemaLocation): bool |
|
| 50 | } |
||
| 51 |