| 123456789101112131415 | <?php
use Doctrine\Common\Annotations\AnnotationRegistry;
// Composer
if (file_exists(__DIR__.'/../vendor/autoload.php')) {
    $loader = require_once __DIR__.'/../vendor/autoload.php';
    AnnotationRegistry::registerLoader('class_exists');
    return $loader;
}
throw new \RuntimeException('Could not find vendor/autoload.php, make sure you ran composer.');
 |