ILIAS  release_8 Revision v8.24
ConstantTransformation.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21namespace ILIAS\Refinery;
22
24{
27
28 protected $value;
29
30 public function __construct($value)
31 {
32 $this->value = $value;
33 }
34
38 public function transform($from)
39 {
40 return $this->value;
41 }
42}
A transformation is a function from one datatype to another.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: ByTrying.php:21