ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
StreamOptions.php
Go to the documentation of this file.
1
<?
php
2
declare(strict_types=1);
3
4
namespace
ILIAS\Filesystem\Stream
;
5
19
final
class
StreamOptions
20
{
21
const
UNKNOWN_STREAM_SIZE
= -1;
22
26
private
$size
;
30
private
$metadata
;
31
32
39
public
function
__construct
(array
$metadata
= [],
int
$size
= self::UNKNOWN_STREAM_SIZE)
40
{
41
$this->
size
=
$size
;
42
$this->metadata =
$metadata
;
43
}
44
45
49
public
function
getSize
() : int
50
{
51
return
$this->size
;
52
}
53
54
58
public
function
getMetadata
() : array
59
{
60
return
$this->metadata
;
61
}
62
}
ILIAS\Filesystem\Stream\StreamOptions\__construct
__construct(array $metadata=[], int $size=self::UNKNOWN_STREAM_SIZE)
StreamOptions constructor.
Definition:
StreamOptions.php:39
ILIAS\Filesystem\Stream\StreamOptions\getSize
getSize()
Definition:
StreamOptions.php:49
ILIAS\Filesystem\Stream\StreamOptions\$metadata
$metadata
Definition:
StreamOptions.php:30
ILIAS\Filesystem\Stream
Definition:
FileStream.php:3
ILIAS\Filesystem\Stream\StreamOptions\$size
$size
Definition:
StreamOptions.php:26
ILIAS\Filesystem\Stream\StreamOptions\UNKNOWN_STREAM_SIZE
const UNKNOWN_STREAM_SIZE
Definition:
StreamOptions.php:21
size
font size
Definition:
langcheck.php:162
ILIAS\Filesystem\Stream\StreamOptions\getMetadata
getMetadata()
Definition:
StreamOptions.php:58
php
ILIAS\Filesystem\Stream\StreamOptions
Class StreamOptions.
Definition:
StreamOptions.php:19
src
Filesystem
Stream
StreamOptions.php
Generated on Thu Jan 16 2025 19:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)