PHP Class PhpBench\Benchmark\Remote\Payload

Show file Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
__construct ( string $template, array $tokens = [], $phpBinary = PHP_BINARY, Process $process = null ) Create a new Payload object with the given script template.
launch ( )
setPhpConfig ( $phpConfig )
setPhpPath ( $phpBinary )
setWrapper ( $wrapper )

Private Methods

Method Description
getIniString ( )

Method Details

__construct() public method

The template must be the path to a script template.
public __construct ( string $template, array $tokens = [], $phpBinary = PHP_BINARY, Process $process = null )
$template string
$tokens array
$process Symfony\Component\Process\Process

launch() public method

public launch ( )

setPhpConfig() public method

public setPhpConfig ( $phpConfig )

setPhpPath() public method

public setPhpPath ( $phpBinary )

setWrapper() public method

public setWrapper ( $wrapper )