aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/autoload.php')
-rw-r--r--app/autoload.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/autoload.php b/app/autoload.php
new file mode 100644
index 00000000..70526bb5
--- /dev/null
+++ b/app/autoload.php
@@ -0,0 +1,13 @@
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;