ILIAS  release_7 Revision v7.30-3-g800a261c036
Group.php
Go to the documentation of this file.
1<?php
2declare(strict_types=1);
3
4/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
5
11
13
14class 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}
An exception for terminatinating execution or to throw for unit testing.
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.