public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
 {
     $file = $this->file;
     return LegacyCaptureResponseFactory::create(function () use($file, $request) {
         global $kernel;
         // find a really dirty way to Symfony2 kernel object...
         include $file;
     });
 }
 public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
 {
     $file = $this->file;
     return LegacyCaptureResponseFactory::create(function () use($file, $request) {
         $status = (include $file);
         if ($status != 1) {
             return $status;
         }
     });
 }