allow server:run with built-in server and create route loader

This commit is contained in:
2014-11-04 22:34:05 +01:00
parent 27378f34ca
commit 11a71d99ec
11 changed files with 150 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
<?php
use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;
/**
* @var ClassLoader $loader
*/
$loader = require __DIR__.'/../../../../vendor/autoload.php';
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
return $loader;