PHP Class PhpBench\Benchmark\Remote\Payload

Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
getIniString ( )

Method Details

__construct() public méthode

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 méthode

public launch ( )

setPhpConfig() public méthode

public setPhpConfig ( $phpConfig )

setPhpPath() public méthode

public setPhpPath ( $phpBinary )

setWrapper() public méthode

public setWrapper ( $wrapper )