autoload.php 264 Bytes
Newer Older
Michael McAndrew's avatar
Michael McAndrew committed
1 2 3 4 5 6 7 8
<?php

use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;

/**
 * @var ClassLoader $loader
 */
9
$loader = require __DIR__ . '/../vendor/autoload.php';
Michael McAndrew's avatar
Michael McAndrew committed
10 11 12 13

AnnotationRegistry::registerLoader([$loader, 'loadClass']);

return $loader;