ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
01-primitive.php File Reference

Go to the source code of this file.

Functions

 primitive ()
 

Function Documentation

◆ primitive()

primitive ( )
Author
Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de

Definition at line 7 of file 01-primitive.php.

8{
9 global $DIC;
10
11 $refinery = $DIC->refinery();
12
13 $transformation = $refinery->to()->int();
14
15 $result = $transformation->transform(5);
16
17 return assert(5 === $result);
18}
$result
$DIC
Definition: xapitoken.php:46

References $DIC, and $result.