ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Interface FileStreamReadAccess This interface describes all readonly streaming filesystem operations. More...
Public Member Functions | |
readStream (string $path) | |
Opens a readable stream of the file. More... | |
Interface FileStreamReadAccess This interface describes all readonly streaming filesystem operations.
Definition at line 18 of file FileStreamReadAccess.php.
ILIAS\Filesystem\Provider\FileStreamReadAccess::readStream | ( | string | $path | ) |
Opens a readable stream of the file.
Please make sure to close the stream after the work is done with Stream::close()
string | $path | The path to the file which should be used to open the new stream. |
FileNotFoundException | If the file could not be found. |
IOException | If the stream could not be opened. |
Implemented in ILIAS\Filesystem\Decorator\FilesystemWhitelistDecorator, ILIAS\Filesystem\FilesystemFacade, ILIAS\Filesystem\Decorator\ReadOnlyDecorator, and ILIAS\Filesystem\Provider\FlySystem\FlySystemFileStreamAccess.