PHP Class Icicle\Concurrent\Process\ChannelledProcess

Inheritance: implements ProcessContext, implements Strand
ファイルを表示 Open project: icicleio/concurrent

Public Methods

Method Description
__clone ( ) Resets process values.
__construct ( string $path, string $cwd = '', array $env = [] )
getPid ( ) : integer
isRunning ( ) : boolean
join ( ) : Generator
kill ( )
receive ( ) : Generator
send ( $data ) : Generator
signal ( integer $signo )
start ( )

Method Details

__clone() public method

Resets process values.
public __clone ( )

__construct() public method

public __construct ( string $path, string $cwd = '', array $env = [] )
$path string Path to PHP script.
$cwd string Working directory.
$env array Array of environment variables.

getPid() public method

public getPid ( ) : integer
return integer

isRunning() public method

public isRunning ( ) : boolean
return boolean

join() public method

public join ( ) : Generator
return Generator

kill() public method

public kill ( )

receive() public method

public receive ( ) : Generator
return Generator

send() public method

public send ( $data ) : Generator
return Generator

signal() public method

public signal ( integer $signo )
$signo integer

start() public method

public start ( )