Mercurial > hg > dml-open-vis
comparison app/autoload.php @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:493bcb69166c |
---|---|
1 <?php | |
2 | |
3 use Doctrine\Common\Annotations\AnnotationRegistry; | |
4 use Composer\Autoload\ClassLoader; | |
5 | |
6 /** | |
7 * @var ClassLoader $loader | |
8 */ | |
9 $loader = require __DIR__.'/../vendor/autoload.php'; | |
10 | |
11 AnnotationRegistry::registerLoader(array($loader, 'loadClass')); | |
12 | |
13 return $loader; |