php7-mysql-data/Kapitel_10/Lektion_4/symfony/app/autoload.php

14 lines
262 B
PHP
Raw Normal View History

2016-08-16 21:20:53 +02:00
<?php
use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;
/**
* @var ClassLoader $loader
*/
$loader = require __DIR__.'/../vendor/autoload.php';
AnnotationRegistry::registerLoader([$loader, 'loadClass']);
return $loader;