diff --git a/bin/generate_db.php b/bin/generate_db.php index a1d409b..de8c31c 100644 --- a/bin/generate_db.php +++ b/bin/generate_db.php @@ -7,7 +7,7 @@ require_once __DIR__ . "/../bootstrap.php"; // Show table creation statements // And (re)generate Proxies -$em = $_em; +$em = EmotionHero\Application::getInstance()->getEm(); var_dump($em->getConnection()->getDatabasePlatform()->getName()); // $serializer = JMS\Serializer\SerializerBuilder::create()->build();