ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Transformation.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 2017 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3/* Copyright (c) 2017 Stefan Hecken <stefan.hecken@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6
16{
25 public function transform($from);
26
34 public function __invoke($from);
35}
An exception for terminatinating execution or to throw for unit testing.
A transformation is a function from one datatype to another.
__invoke($from)
Transformations should be callable.
transform($from)
Perform the transformation.
$from