PhpBench\Benchmark\Remote\Launcher::__construct PHP Method

__construct() public method

public __construct ( PayloadFactory $factory = null, ExecutableFinder $finder = null, $bootstrap = null, $phpBinary = null, $phpConfig = [], $phpWrapper = null )
$factory PayloadFactory
$finder Symfony\Component\Process\ExecutableFinder
    public function __construct(PayloadFactory $factory = null, ExecutableFinder $finder = null, $bootstrap = null, $phpBinary = null, $phpConfig = [], $phpWrapper = null)
    {
        $this->bootstrap = $bootstrap;
        $this->payloadFactory = $factory ?: new PayloadFactory();
        $this->phpBinary = $phpBinary;
        $this->phpConfig = $phpConfig;
        $this->phpWrapper = $phpWrapper;
        $this->finder = $finder ?: new ExecutableFinder();
    }