autoload.php 368 B

1234567891011121314
  1. <?php
  2. use Doctrine\Common\Annotations\AnnotationRegistry;
  3. $loader = require __DIR__.'/../vendor/autoload.php';
  4. // intl
  5. if (!function_exists('intl_get_error_code')) {
  6. require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';
  7. }
  8. AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
  9. return $loader;