bootstrap.php 341 B

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