ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
02-list.php File Reference

Go to the source code of this file.

Functions

 toList ()
 

Function Documentation

◆ toList()

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

Definition at line 7 of file 02-list.php.

References $DIC, and $result.

8 {
9  global $DIC;
10 
11  $refinery = $DIC->refinery();
12 
13  $transformation = $refinery->to()->listOf(new \ILIAS\Refinery\To\Transformation\IntegerTransformation());
14 
15  $result = $transformation->transform(array(5, 1, 4));
16 
17  return assert(array(5, 1, 4) === $result);
18 }
$result
Class ChatMainBarProvider .
global $DIC
Definition: goto.php:24