ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
trait.ilObjFileTransformation.php File Reference

Go to the source code of this file.

Variables

trait ilObjFileTransformation
 

Variable Documentation

◆ ilObjFileTransformation

trait ilObjFileTransformation
Initial value:
{
public function getEmptyStringToNullTransformation(): Transformation
{
return $this->getRefinery()->custom()->transformation(static function ($text) {
return (empty($text)) ? null : $text;
});
}
abstract protected function getRefinery(): Factory
A transformation is a function from one datatype to another.
Author
Lukas Zehnder lukas.nosp@m.@sr..nosp@m.solut.nosp@m.ions

Definition at line 27 of file trait.ilObjFileTransformation.php.