aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/autoload.php
blob: fa582ecd03cb978c1f1ffa0bde9632c310db5d64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

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

/**
 * @var ClassLoader $loader
 */
$loader = require __DIR__.'/../vendor/autoload.php';

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

return $loader;