bootstrap.php 365B

123456789101112131415
  1. <?php
  2. use Doctrine\Common\Annotations\AnnotationRegistry;
  3. // Composer
  4. if (file_exists(__DIR__.'/../vendor/autoload.php')) {
  5. $loader = require_once __DIR__.'/../vendor/autoload.php';
  6. AnnotationRegistry::registerLoader('class_exists');
  7. return $loader;
  8. }
  9. throw new \RuntimeException('Could not find vendor/autoload.php, make sure you ran composer.');