'pdo_mysql', 'user' => 'doctrinedemo', 'password' => 'secretPassword', 'dbname' => 'doctrinedemo', ); $config = Setup::createAnnotationMetadataConfiguration($paths, $isDevMode); $entityManager = EntityManager::create($dbParams, $config); ?>