ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class StreamOptions The streaming options are used by the stream implementation. More...
Public Member Functions | |
__construct (array $metadata=[], int $size=self::UNKNOWN_STREAM_SIZE) | |
StreamOptions constructor. More... | |
getSize () | |
getMetadata () | |
Data Fields | |
const | UNKNOWN_STREAM_SIZE = -1 |
Private Attributes | |
$size | |
$metadata | |
Class StreamOptions 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 16 of file StreamOptions.php.
ILIAS\Filesystem\Stream\StreamOptions::__construct | ( | array | $metadata = [] , |
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 34 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$metadata, and ILIAS\Filesystem\Stream\StreamOptions\$size.
ILIAS\Filesystem\Stream\StreamOptions::getMetadata | ( | ) |
Definition at line 51 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$metadata.
ILIAS\Filesystem\Stream\StreamOptions::getSize | ( | ) |
Definition at line 43 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$size.
|
private |
Definition at line 27 of file StreamOptions.php.
Referenced by ILIAS\Filesystem\Stream\StreamOptions\__construct(), and ILIAS\Filesystem\Stream\StreamOptions\getMetadata().
|
private |
Definition at line 23 of file StreamOptions.php.
Referenced by ILIAS\Filesystem\Stream\StreamOptions\__construct(), and ILIAS\Filesystem\Stream\StreamOptions\getSize().
const ILIAS\Filesystem\Stream\StreamOptions::UNKNOWN_STREAM_SIZE = -1 |
Definition at line 18 of file StreamOptions.php.