ILIAS
release_8 Revision v8.19
|
Class StreamOptions. 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 | |
int | $size |
array | $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 33 of file StreamOptions.php.
ILIAS\Filesystem\Stream\StreamOptions::__construct | ( | array | $metadata = [] , |
int | $size = self::UNKNOWN_STREAM_SIZE |
||
) |
StreamOptions constructor.
Definition at line 50 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$metadata, and ILIAS\Filesystem\Stream\StreamOptions\$size.
ILIAS\Filesystem\Stream\StreamOptions::getMetadata | ( | ) |
Definition at line 69 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$metadata.
ILIAS\Filesystem\Stream\StreamOptions::getSize | ( | ) |
Definition at line 60 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$size.
|
private |
Definition at line 41 of file StreamOptions.php.
Referenced by ILIAS\Filesystem\Stream\StreamOptions\__construct(), and ILIAS\Filesystem\Stream\StreamOptions\getMetadata().
|
private |
Definition at line 37 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 35 of file StreamOptions.php.