\Symfony\Component\ProcessInputStream

Provides a way to continuously write to the input of a Process until the InputStream is closed.

Summary

Methods
Properties
Constants
onEmpty()
write()
close()
isClosed()
getIterator()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$onEmpty
$input
$open
N/A

Properties

$onEmpty

$onEmpty : callable|null

Type

callable|null

$input

$input : 

Type

$open

$open : 

Type

Methods

onEmpty()

onEmpty(callable  $onEmpty = null) 

Sets a callback that is called when the write buffer becomes empty.

Parameters

callable $onEmpty

write()

write(  $input) 

Appends an input to the write buffer.

Parameters

$input

close()

close() 

Closes the write buffer.

isClosed()

isClosed() 

Tells whether the write buffer is closed or not.

getIterator()

getIterator()