ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Transformation.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Refinery\Custom
;
22
23
use
ILIAS\Data\Factory
;
24
use
ILIAS\Refinery\Transformation
as
TransformationInterface
;
25
use
ILIAS\Refinery\DeriveApplyToFromTransform
;
26
use
ILIAS\Refinery\DeriveInvokeFromTransform
;
27
31
class
Transformation
implements
TransformationInterface
32
{
33
use
DeriveApplyToFromTransform
;
34
use
DeriveInvokeFromTransform
;
35
37
private
$transformation
;
38
39
public
function
__construct
(callable
$transformation
)
40
{
41
$this->transformation =
$transformation
;
42
}
43
47
public
function
transform
($from)
48
{
49
return
call_user_func($this->transformation, $from);
50
}
51
}
ILIAS\Refinery\Custom
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Constraint.php:21
ILIAS\Refinery\Custom\Transformation
Transform values according to custom configuration.
Definition:
Transformation.php:31
Transformation
ILIAS\Refinery\DeriveApplyToFromTransform
trait DeriveApplyToFromTransform
Definition:
DeriveApplyToFromTransform.php:29
ILIAS\Refinery\DeriveInvokeFromTransform
trait DeriveInvokeFromTransform
Definition:
DeriveInvokeFromTransform.php:27
ILIAS\Refinery\Custom\Transformation\transform
transform($from)
Definition:
Transformation.php:47
Factory
ILIAS\Refinery\Custom\Transformation\__construct
__construct(callable $transformation)
Definition:
Transformation.php:39
ILIAS\Refinery\Custom\Transformation\$transformation
$transformation
Definition:
Transformation.php:37
src
Refinery
Custom
Transformation.php
Generated on Sun Apr 6 2025 22:03:00 for ILIAS by
1.8.13 (using
Doxyfile
)