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

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

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

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

return $loader;