add NotORM to composer and create classMap for autoloading

This commit is contained in:
Manuel Raynaud
2012-12-20 11:33:50 +01:00
parent ab179a637c
commit 0ed8c2dd00
6 changed files with 58 additions and 136 deletions

View File

@@ -1,18 +0,0 @@
<?php
if (is_file(__DIR__ . '/config_db.php')) {
require __DIR__ . '/config_db.php';
} else {
return false;
}
use Symfony\Component\DependencyInjection\ContainerBuilder;
$container = new ContainerBuilder();
$container->register('database','Thelia\\Database\\Connection');
$container->register('http_kernel','Symfony\\Component\\HttpKernel\\HttpKernel');
$container->register('session','Symfony\\Component\\HttpFoundation\\Session\\Session');
return $container;