Icicle\Concurrent\Process\ChannelledProcess::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $path, string $cwd = '', array $env = [] )
$path string Path to PHP script.
$cwd string Working directory.
$env array Array of environment variables.
    public function __construct(string $path, string $cwd = '', array $env = [])
    {
        $command = PHP_BINARY . ' ' . $path;
        $this->process = new Process($command, $cwd, $env);
    }