shutdown() public method

Shutdowns the Bundle.
public shutdown ( )
 /**
  * Shutdowns the Bundle.
  */
 public function shutdown()
 {
     if ($this->container->getParameter('liuggio_rackspace_cloud_files.stream_wrapper.register')) {
         $swc = $this->container->getParameter('liuggio_rackspace_cloud_files.stream_wrapper.class');
         $swc::unRegisterStreamWrapperClass();
     }
     parent::shutdown();
 }
 /**
  * {@inheritDoc}
  */
 public function shutdown()
 {
     parent::shutdown();
     if (!$this->container->hasParameter('old_sound_rabbit_mq.base_amqp')) {
         return;
     }
     $connections = $this->container->getParameter('old_sound_rabbit_mq.base_amqp');
     foreach ($connections as $connection) {
         if ($this->container->initialized($connection)) {
             $this->container->get($connection)->close();
         }
     }
 }