autoload.php 267 B

12345678910111213
  1. <?php
  2. use Doctrine\Common\Annotations\AnnotationRegistry;
  3. use Composer\Autoload\ClassLoader;
  4. /**
  5. * @var ClassLoader $loader
  6. */
  7. $loader = require __DIR__.'/../vendor/autoload.php';
  8. AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
  9. return $loader;