wallabag/app/autoload.php

14 lines
256 B
PHP
Raw Normal View History

2015-01-22 07:30:07 +00:00
<?php
use Composer\Autoload\ClassLoader;
2017-07-01 07:52:38 +00:00
use Doctrine\Common\Annotations\AnnotationRegistry;
2015-01-22 07:30:07 +00:00
/**
2017-07-01 07:52:38 +00:00
* @var ClassLoader
2015-01-22 07:30:07 +00:00
*/
2017-07-01 07:52:38 +00:00
$loader = require __DIR__ . '/../vendor/autoload.php';
2015-01-22 07:30:07 +00:00
2016-01-14 17:15:07 +00:00
AnnotationRegistry::registerLoader([$loader, 'loadClass']);
2015-01-22 07:30:07 +00:00
return $loader;