aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/autoload.php
blob: 70526bb5e4aa1f812fdcd3f4fc94b9f89b365656 (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(array($loader, 'loadClass'));

return $loader;