aboutsummaryrefslogblamecommitdiffhomepage
path: root/app/autoload.php
blob: c5f664dc81ea0e936be3b77169edce1cd56d50b3 (plain) (tree)
1
2
3
4
5
6
7
8
9

     
                                  
                                                   

   
                   
   
                                                      
 
                                                           

               
<?php

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

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

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

return $loader;