Ejemplo n.º 1
0
 /**
  * @param array $options
  */
 protected static function bootKernel(array $options = array())
 {
     if (method_exists('Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase', 'bootKernel')) {
         parent::bootKernel($options);
     } else {
         if (null !== static::$kernel) {
             static::$kernel->shutdown();
         }
         static::$kernel = static::createKernel($options);
         static::$kernel->boot();
         static::$kernel;
     }
 }