wallabag/app/autoload.php

14 lines
256 B
PHP
Raw Normal View History

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