1
0
mirror of https://github.com/danog/process.git synced 2024-12-03 18:17:46 +01:00
process/lib/Internal/Posix/Handle.php
2017-09-17 17:57:32 +02:00

34 lines
633 B
PHP

<?php
namespace Amp\Process\Internal\Posix;
use Amp\Deferred;
use Amp\Process\Internal\ProcessHandle;
final class Handle extends ProcessHandle
{
public function __construct() {
$this->startDeferred = new Deferred;
$this->endDeferred = new Deferred;
$this->originalParentPid = \getmypid();
}
/** @var Deferred */
public $endDeferred;
/** @var Deferred */
public $startDeferred;
/** @var resource */
public $proc;
/** @var resource[] */
public $pipes;
/** @var string */
public $extraDataPipeWatcher;
/** @var int */
public $originalParentPid;
}