ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Public Member Functions | |
readStream (string $path) | |
Opens a readable stream of the file. More... | |
Definition at line 29 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.