Files
Chamilo/vendor/knplabs/knp-components/tests/bootstrap.php
2025-08-14 22:41:49 +02:00

10 lines
341 B
PHP

<?php
require __DIR__.'/../vendor/autoload.php';
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');
$reader = new \Doctrine\Common\Annotations\AnnotationReader();
$reader = new \Doctrine\Common\Annotations\CachedReader($reader, new \Doctrine\Common\Cache\ArrayCache());
$_ENV['annotation_reader'] = $reader;