ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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
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
ILIAS\Filesystem\Stream\StreamOptions\getMetadata
getMetadata()
Definition:
StreamOptions.php:58
ILIAS\Filesystem\Stream\StreamOptions
Class StreamOptions.
Definition:
StreamOptions.php:19
src
Filesystem
Stream
StreamOptions.php
Generated on Sat Apr 5 2025 20:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)