|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
The streaming options are used by the stream implementation. More...
Collaboration diagram for ILIAS\Filesystem\Stream\StreamOptions:Public Member Functions | |
| __construct (private array $metadata=[], private int $size=self::UNKNOWN_STREAM_SIZE) | |
| StreamOptions constructor. More... | |
| getSize () | |
| getMetadata () | |
Data Fields | |
| const | UNKNOWN_STREAM_SIZE = -1 |
The streaming options are used by the stream implementation.
This class only hold configuration options which can be used by the Stream class.
Definition at line 30 of file StreamOptions.php.
| ILIAS\Filesystem\Stream\StreamOptions::__construct | ( | private array | $metadata = [], |
| private int | $size = self::UNKNOWN_STREAM_SIZE |
||
| ) |
StreamOptions constructor.
| \string[] | $metadata | Additional metadata for the stream. |
| int | $size | The known stream size in byte. -1 indicates an unknown size. |
Definition at line 43 of file StreamOptions.php.
| ILIAS\Filesystem\Stream\StreamOptions::getMetadata | ( | ) |
Definition at line 55 of file StreamOptions.php.
| ILIAS\Filesystem\Stream\StreamOptions::getSize | ( | ) |
Definition at line 47 of file StreamOptions.php.
| const ILIAS\Filesystem\Stream\StreamOptions::UNKNOWN_STREAM_SIZE = -1 |
Definition at line 35 of file StreamOptions.php.