ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
Group.php
Go to the documentation of this file.
1 <?php
2 declare(strict_types=1);
3 
4 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
5 
11 
13 
14 class Group
15 {
16 
24  public function series(array $inTransformations) : Transformation
25  {
26  return new Series($inTransformations);
27  }
28 
36  public function parallel(array $inTransformations) : Transformation
37  {
38  return new Parallel($inTransformations);
39  }
40 }
parallel(array $inTransformations)
Takes an array of transformations and performs each on the input value to form a tuple of the results...
Definition: Group.php:36
series(array $inTransformations)
Takes an array of transformations and performs them one after another on the result of the previous t...
Definition: Group.php:24
A transformation is a function from one datatype to another.