Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
processorFactory.php
Go to the documentation of this file.
1 <?php
7 
8 require_once realpath(__DIR__) . '/../../app/bootstrap.php';
9 require_once 'processor.php';
10 
15 {
21  public function createProcessor()
22  {
24  $objectManager = $objectManagerFactory->create($_SERVER);
25  $response = $objectManager->create(\Magento\Framework\App\Response\Http::class);
26  return new Processor($response);
27  }
28 }
$response
Definition: 404.php:11
$objectManager
Definition: bootstrap.php:17
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60
$objectManagerFactory
static createObjectManagerFactory($rootDir, array $initParams)
Definition: Bootstrap.php:149
const BP
Definition: autoload.php:14