| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
The purpose of this class is to wrap all stream handling php functions. More...
 Collaboration diagram for ILIAS\Filesystem\Util\PHPStreamFunctions:Static Public Member Functions | |
| static | ftell ($handle) | 
| ftell wrapper  More... | |
| static | fseek ($stream, int $offset, int $whence) | 
| static | fclose ($handle) | 
| static | fread ($handle, int $length) | 
| static | stream_get_contents ($handle, $length=-1) | 
| static | fwrite ($handle, string $string, ?int $length=null) | 
The purpose of this class is to wrap all stream handling php functions.
This allows to mock the functions within unit test which would otherwise require us to redefine the function in a scope which is scanned before the root scope and somehow call the function on our mocks the verify the function calls.
Definition at line 33 of file PHPStreamFunctions.php.
      
  | 
  static | 
| resource | $handle | 
Definition at line 61 of file PHPStreamFunctions.php.
Referenced by ILIAS\Filesystem\Stream\Stream\close().
 Here is the caller graph for this function:
      
  | 
  static | 
| resource | $handle | 
Definition at line 70 of file PHPStreamFunctions.php.
Referenced by ILIAS\Filesystem\Stream\Stream\read().
 Here is the caller graph for this function:
      
  | 
  static | 
| resource | $stream | 
Definition at line 52 of file PHPStreamFunctions.php.
Referenced by ILIAS\Filesystem\Stream\Stream\seek().
 Here is the caller graph for this function:
      
  | 
  static | 
ftell wrapper
| resource | $handle | 
Definition at line 43 of file PHPStreamFunctions.php.
Referenced by ILIAS\Filesystem\Stream\Stream\tell().
 Here is the caller graph for this function:
      
  | 
  static | 
| resource | $handle | 
Definition at line 89 of file PHPStreamFunctions.php.
Referenced by ILIAS\Filesystem\Stream\StreamTest\testWriteWhichShouldSucceed(), and ILIAS\Filesystem\Stream\Stream\write().
 Here is the caller graph for this function:
      
  | 
  static | 
| resource | $handle | 
Definition at line 79 of file PHPStreamFunctions.php.
Referenced by ILIAS\Filesystem\Stream\Stream\getContents().
 Here is the caller graph for this function: