Mercurial > hg > dml-open-vis
annotate app/autoload.php @ 1:f38015048f48 tip
Added GPL
author | Daniel Wolff |
---|---|
date | Sat, 13 Feb 2016 20:43:38 +0100 |
parents | 493bcb69166c |
children |
rev | line source |
---|---|
Daniel@0 | 1 <?php |
Daniel@0 | 2 |
Daniel@0 | 3 use Doctrine\Common\Annotations\AnnotationRegistry; |
Daniel@0 | 4 use Composer\Autoload\ClassLoader; |
Daniel@0 | 5 |
Daniel@0 | 6 /** |
Daniel@0 | 7 * @var ClassLoader $loader |
Daniel@0 | 8 */ |
Daniel@0 | 9 $loader = require __DIR__.'/../vendor/autoload.php'; |
Daniel@0 | 10 |
Daniel@0 | 11 AnnotationRegistry::registerLoader(array($loader, 'loadClass')); |
Daniel@0 | 12 |
Daniel@0 | 13 return $loader; |