ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
02-series.php File Reference

Go to the source code of this file.

Functions

 series ()
 

Function Documentation

◆ series()

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

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

References $DIC, and $result.

8 {
9  global $DIC;
10 
11  $refinery = $DIC->refinery();
12 
13  $transformation = $refinery->in()->series(
14  array(
15  new ILIAS\Refinery\To\Transformation\IntegerTransformation(),
16  new ILIAS\Refinery\To\Transformation\IntegerTransformation(),
17  )
18  );
19 
20  $result = $transformation->transform(5);
21 
22  return assert(5 === $result);
23 }
$result
Class ChatMainBarProvider .
$DIC
Definition: xapitoken.php:46