bootstrap.php 348B

1234567891011
  1. <?php
  2. call_user_func(function() {
  3. if ( ! is_file($autoloadFile = __DIR__.'/../vendor/autoload.php')) {
  4. throw new \LogicException('Could not find vendor/autoload.php. Did you run "composer install --dev"?');
  5. }
  6. require_once $autoloadFile;
  7. \Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');
  8. });