14 lines
251 B
PHP
14 lines
251 B
PHP
|
<?php
|
||
|
use Composer\Autoload\ClassLoader;
|
||
|
use Doctrine\Common\Annotations\AnnotationRegistry;
|
||
|
|
||
|
/**
|
||
|
* @var ClassLoader $loader
|
||
|
*/
|
||
|
$loader = require __DIR__.'/vendor/autoload.php';
|
||
|
|
||
|
AnnotationRegistry::registerLoader('class_exists');
|
||
|
|
||
|
|
||
|
return $loader;
|