ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
01-primitive.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
7 function primitive()
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
global $DIC
Definition: goto.php:24
primitive()
Definition: 01-primitive.php:7