ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
StreamOptions.php
Go to the documentation of this file.
1
<?php
2
declare(strict_types=1);
3
4
namespace
ILIAS\Filesystem\Stream
;
5
16
final
class
StreamOptions
17
{
18
const
UNKNOWN_STREAM_SIZE
= -1;
19
23
private
$size
;
27
private
$metadata
;
28
34
public
function
__construct
(array
$metadata
= [],
int
$size
= self::UNKNOWN_STREAM_SIZE)
35
{
36
$this->size =
$size
;
37
$this->metadata =
$metadata
;
38
}
39
43
public
function
getSize
() : int
44
{
45
return
$this->size
;
46
}
47
51
public
function
getMetadata
() : array
52
{
53
return
$this->metadata
;
54
}
55
}
ILIAS\Filesystem\Stream\StreamOptions\__construct
__construct(array $metadata=[], int $size=self::UNKNOWN_STREAM_SIZE)
StreamOptions constructor.
Definition:
StreamOptions.php:34
ILIAS\Filesystem\Stream\StreamOptions\getSize
getSize()
Definition:
StreamOptions.php:43
ILIAS\Filesystem\Stream\StreamOptions\$metadata
$metadata
Definition:
StreamOptions.php:27
ILIAS\Filesystem\Stream
Definition:
FileStream.php:3
ILIAS\Filesystem\Stream\StreamOptions\$size
$size
Definition:
StreamOptions.php:23
ILIAS\Filesystem\Stream\StreamOptions\UNKNOWN_STREAM_SIZE
const UNKNOWN_STREAM_SIZE
Definition:
StreamOptions.php:18
ILIAS\Filesystem\Stream\StreamOptions\getMetadata
getMetadata()
Definition:
StreamOptions.php:51
ILIAS\Filesystem\Stream\StreamOptions
Class StreamOptions The streaming options are used by the stream implementation.
Definition:
StreamOptions.php:16
src
Filesystem
Stream
StreamOptions.php
Generated on Sat Apr 5 2025 21:01:44 for ILIAS by
1.8.13 (using
Doxyfile
)