ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interface FileStreamReadAccess. 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 22 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.