improve README
[mixstore.git] / app / autoload.php
... / ...
CommitLineData
1<?php
2
3use Doctrine\Common\Annotations\AnnotationRegistry;
4use Composer\Autoload\ClassLoader;
5
6/**
7 * @var ClassLoader $loader
8 */
9$loader = require __DIR__.'/../vendor/autoload.php';
10
11AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
12
13return $loader;