diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-22 08:30:07 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-22 08:30:07 +0100 |
commit | 93fd4692f6eb753cae16358131c8049d84cfbb41 (patch) | |
tree | 1ef2f66eb378cf419d1aa033a2c772539e60537d /app/autoload.php | |
parent | 0440249631164a378981d014bf71b617c082bf5a (diff) | |
download | wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.tar.gz wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.tar.zst wallabag-93fd4692f6eb753cae16358131c8049d84cfbb41.zip |
symfony is there
Diffstat (limited to 'app/autoload.php')
-rw-r--r-- | app/autoload.php | 13 |
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 | |||
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; | ||