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
Factory.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\Data\UUID
;
4
5
use
Exception
;
6
use
Ramsey\Uuid\UuidFactory
;
7
14
class
Factory
15
{
16
17
21
private
$uuid_factory
;
22
26
public
function
__construct
()
27
{
28
$this->uuid_factory =
new
UuidFactory();
29
}
30
35
public
function
uuid4
() :
Uuid
36
{
37
return
new
RamseyUuidWrapper
($this->uuid_factory->uuid4());
38
}
39
44
public
function
uuid4AsString
() : string
45
{
46
return
$this->
uuid4
()->toString();
47
}
48
}
ILIAS\Data\UUID\Factory\$uuid_factory
$uuid_factory
Definition:
Factory.php:21
ILIAS\Data\UUID
Definition:
Factory.php:3
UuidFactory
ILIAS\Data\UUID\RamseyUuidWrapper
Definition:
RamseyUuidWrapper.php:13
ILIAS\Data\UUID\Factory
Definition:
Factory.php:14
ILIAS\Data\UUID\Uuid
Definition:
Uuid.php:11
ILIAS\Data\UUID\Factory\uuid4AsString
uuid4AsString()
Definition:
Factory.php:44
ILIAS\Data\UUID\Factory\uuid4
uuid4()
Definition:
Factory.php:35
ILIAS\Data\UUID\Factory\__construct
__construct()
Factory constructor.
Definition:
Factory.php:26
Exception
src
Data
UUID
Factory.php
Generated on Sun Apr 6 2025 20:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)