Mercurial > hg > dml-open-vis
annotate app/autoload.php @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
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; |