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