/** * Create the table needed by BackBee to manage bundles */ protected function installBundles() { $bbapp = $this->getContainer()->get('bbapp'); foreach ($bbapp->getBundles() as $bundle) { $sqls = $bundle->getCreateQueries($bundle->getBundleEntityManager()); $bundle->install(); } parent::installBundles(); }