create(Processor::class); } catch (\RuntimeException $exception) { // phpcs:ignore Magento2.Security.Superglobal $objectManagerFactory = \Magento\Framework\App\Bootstrap::createObjectManagerFactory(BP, $_SERVER); $objectManager = $objectManagerFactory->create($_SERVER); // phpcs:ignore Magento2.Security.Superglobal $response = $objectManager->create(\Magento\Framework\App\Response\Http::class); return new Processor($response); } } }