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

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

Parameters

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

close()

Closes file handles and pipes.

protected bool hasSystemCallBeenInterrupted()

Returns true if a system call has been interrupted.

Return Value

bool

protected unblock()

Unblocks streams.

protected write()

Writes input to stdin.

Exceptions

InvalidArgumentException When an input iterator yields a non supported value

handleError($type, $msg)

Parameters

$type
$msg