Definition at line 29 of file Parallel.php.
◆ __construct()
ILIAS\Refinery\In\Parallel::__construct |
( |
array |
$transformations | ) |
|
- Parameters
-
- Exceptions
-
Definition at line 41 of file Parallel.php.
42 {
43 foreach ($transformations as $transformation) {
44 if (!$transformation instanceof Transformation) {
45 $transformationClassName = Transformation::class;
46
47 throw new ConstraintViolationException(
48 sprintf('The array MUST contain only "%s" instances', $transformationClassName),
49 'not_a_transformation',
50 $transformationClassName
51 );
52 }
53 }
54 $this->transformationStrategies = $transformations;
55 }
◆ transform()
ILIAS\Refinery\In\Parallel::transform |
( |
|
$from | ) |
|
◆ $transformationStrategies
array ILIAS\Refinery\In\Parallel::$transformationStrategies |
|
private |
The documentation for this class was generated from the following file: