Beispiel #1
0
 public function testProductionEnvironment()
 {
     $app = $this->makeApp('production');
     $i = new Integrator($app);
     $i->setupDoctrine('phpMappingDriver');
     $this->assertFalse($app['doctrine.em']->getConfiguration()->getAutoGenerateProxyClasses());
 }
Beispiel #2
0
function setupWithYamlMappings($app, $mappingsPath = null)
{
    $integrator = new Integrator($app);
    $integrator->setupDoctrine('yamlMappingDriver', $mappingsPath);
}