W3cubDocs

/Symfony 4.1

AbstractPipes

abstract class AbstractPipes implements PipesInterface

Properties

$pipes

Methods

__construct(resource|string|int|float|bool|Iterator|null $input)
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)

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Process/Pipes/AbstractPipes.html