Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function shutdown()
 {
     if (false === $this->booted) {
         return;
     }
     if (!in_array($this->environment, ['test', 'test_cached'])) {
         parent::shutdown();
         return;
     }
     $container = $this->container;
     parent::shutdown();
     $this->cleanupContainer($container);
 }