]>
Commit | Line | Data |
---|---|---|
93fd4692 NL |
1 | <?php |
2 | ||
3 | use Doctrine\Common\Annotations\AnnotationRegistry; | |
4 | use Composer\Autoload\ClassLoader; | |
5 | ||
6 | /** | |
7 | * @var ClassLoader $loader | |
8 | */ | |
9 | $loader = require __DIR__.'/../vendor/autoload.php'; | |
10 | ||
73cd160b | 11 | AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
93fd4692 NL |
12 | |
13 | return $loader; |