ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Provides a way to continuously write to the input of a Process until the InputStream is closed. More...
Public Member Functions | |
onEmpty (callable $onEmpty=null) | |
Sets a callback that is called when the write buffer becomes empty. More... | |
write ($input) | |
Appends an input to the write buffer. More... | |
close () | |
Closes the write buffer. More... | |
isClosed () | |
Tells whether the write buffer is closed or not. More... | |
getIterator () | |
Private Attributes | |
$onEmpty = null | |
$input = array() | |
$open = true | |
Provides a way to continuously write to the input of a Process until the InputStream is closed.
Definition at line 21 of file InputStream.php.
Symfony\Component\Process\InputStream::close | ( | ) |
Closes the write buffer.
Definition at line 54 of file InputStream.php.
Symfony\Component\Process\InputStream::getIterator | ( | ) |
Definition at line 67 of file InputStream.php.
References Symfony\Component\Process\InputStream\$onEmpty, input, Symfony\Component\Process\InputStream\onEmpty(), and Symfony\Component\Process\InputStream\write().
Symfony\Component\Process\InputStream::isClosed | ( | ) |
Tells whether the write buffer is closed or not.
Definition at line 62 of file InputStream.php.
References Symfony\Component\Process\InputStream\$open.
Referenced by Symfony\Component\Process\InputStream\write().
Symfony\Component\Process\InputStream::onEmpty | ( | callable | $onEmpty = null | ) |
Sets a callback that is called when the write buffer becomes empty.
Definition at line 30 of file InputStream.php.
References Symfony\Component\Process\InputStream\$onEmpty.
Referenced by Symfony\Component\Process\InputStream\getIterator().
Symfony\Component\Process\InputStream::write | ( | $input | ) |
Appends an input to the write buffer.
resource|scalar| |
Definition at line 40 of file InputStream.php.
References Symfony\Component\Process\InputStream\$input, input, Symfony\Component\Process\InputStream\isClosed(), and Symfony\Component\Process\ProcessUtils\validateInput().
Referenced by Symfony\Component\Process\InputStream\getIterator().
|
private |
Definition at line 24 of file InputStream.php.
Referenced by Symfony\Component\Process\InputStream\write().
|
private |
Definition at line 23 of file InputStream.php.
Referenced by Symfony\Component\Process\InputStream\getIterator(), and Symfony\Component\Process\InputStream\onEmpty().
|
private |
Definition at line 25 of file InputStream.php.
Referenced by Symfony\Component\Process\InputStream\isClosed().