1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2024-12-17 21:26:27 +00:00
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;