/** * {@inheritdoc} */ public function shutdown() { if (false === $this->booted) { return; } if (!in_array($this->environment, ['test', 'test_cached'], true)) { parent::shutdown(); return; } $container = $this->container; parent::shutdown(); $this->cleanupContainer($container); }
/** * {@inheritdoc} */ public function registerBundles() { $bundles = [new \Sylius\Bundle\AdminBundle\SyliusAdminBundle(), new \Sylius\Bundle\ShopBundle\SyliusShopBundle(), new \FOS\OAuthServerBundle\FOSOAuthServerBundle(), new \Sylius\Bundle\ApiBundle\SyliusApiBundle()]; return array_merge(parent::registerBundles(), $bundles); }
/** * {@inheritdoc} */ public function registerBundles() { $bundles = []; return array_merge(parent::registerBundles(), $bundles); }