1
0
mirror of https://github.com/danog/process.git synced 2024-12-12 09:09:44 +01:00
process/lib/Internal/Windows/Handle.php
Aaron Piotrowski c818f508d3
Add coverage annotations
Windows only classes cause havoc with coverage numbers… open to suggestions on how to fix but at least now it won't look like we didn't even try testing. :-P
2017-11-24 19:08:30 -06:00

51 lines
927 B
PHP

<?php
namespace Amp\Process\Internal\Windows;
use Amp\Deferred;
use Amp\Process\Internal\ProcessHandle;
/**
* @internal
* @codeCoverageIgnore Windows only.
*/
final class Handle extends ProcessHandle {
public function __construct() {
$this->joinDeferred = new Deferred;
$this->pidDeferred = new Deferred;
}
/** @var Deferred */
public $joinDeferred;
/** @var string */
public $exitCodeWatcher;
/** @var bool */
public $exitCodeRequested = false;
/** @var resource */
public $proc;
/** @var int */
public $wrapperPid;
/** @var resource */
public $wrapperStderrPipe;
/** @var resource[] */
public $sockets = [];
/** @var Deferred[] */
public $stdioDeferreds;
/** @var string */
public $childPidWatcher;
/** @var string */
public $connectTimeoutWatcher;
/** @var string[] */
public $securityTokens;
}