ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
PipesInterface.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
13
22{
23 const CHUNK_SIZE = 16384;
24
30 public function getDescriptors();
31
37 public function getFiles();
38
47 public function readAndWrite($blocking, $close = false);
48
54 public function areOpen();
55
61 public function haveReadSupport();
62
66 public function close();
67}
An exception for terminatinating execution or to throw for unit testing.
PipesInterface manages descriptors and pipes for the use of proc_open.
getDescriptors()
Returns an array of descriptors for the use of proc_open.
getFiles()
Returns an array of filenames indexed by their related stream in case these pipes use temporary files...
close()
Closes file handles and pipes.
haveReadSupport()
Returns if pipes are able to read output.
areOpen()
Returns if the current state has open file handles or pipes.
readAndWrite($blocking, $close=false)
Reads data in file handles and pipes.