|
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...
Inheritance diagram for Symfony\Component\Process\InputStream:
Collaboration diagram for Symfony\Component\Process\InputStream: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().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| 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, and Symfony\Component\Process\InputStream\onEmpty().
Referenced by Symfony\Component\Process\InputStream\getIterator(), and Symfony\Component\Process\InputStream\onEmpty().
Here is the call graph for this function:
Here is the caller graph for this function:| Symfony\Component\Process\InputStream::write | ( | $input | ) |
Appends an input to the write buffer.
| resource|scalar| |
Traversable|null The input to append as stream resource, scalar or \Traversable
Definition at line 40 of file InputStream.php.
References Symfony\Component\Process\InputStream\$input, input, Symfony\Component\Process\InputStream\isClosed(), sprintf, and Symfony\Component\Process\ProcessUtils\validateInput().
Referenced by Symfony\Component\Process\InputStream\getIterator().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().