abstract class AbstractPipes implements PipesInterface

Properties

$pipes

Methods

__construct(resource|string|int|float|bool|Iterator|null $input)

No description

close()

Closes file handles and pipes.

bool
hasSystemCallBeenInterrupted()

Returns true if a system call has been interrupted.

unblock()

Unblocks streams.

write()

Writes input to stdin.

handleError($type, $msg)

No description

Details

at line 33
__construct(resource|string|int|float|bool|Iterator|null $input)

Parameters

resource|string|int|float|bool|Iterator|null $input

at line 47
close()

Closes file handles and pipes.

at line 60
protected bool hasSystemCallBeenInterrupted()

Returns true if a system call has been interrupted.

Return Value

bool

at line 72
protected unblock()

Unblocks streams.

at line 93
protected write()

Writes input to stdin.

Exceptions

InvalidArgumentException When an input iterator yields a non supported value

at line 174
handleError($type, $msg)

Parameters

$type
$msg