Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.464 kb
<?php
require_once "vendor/.composer/autoload.php";
$configFile = __DIR__ . "/config.yml";
if ( ! file_exists($configFile)) {
$configFile = __DIR__ . "/config.yml-dist";
}
$cache = new \Doctrine\Common\Cache\ArrayCache();
/*$memcache = new \Memcache();
$memcache->connect('127.0.0.1');
$cache = new \Doctrine\Common\Cache\MemcacheCache();
$cache->setMemcache($memcache);*/
$entityManager = \CarFramework\Application::bootstrap($configFile, true, $cache);
Jump to Line
Something went wrong with that request. Please try again.