3 declare(strict_types=1);
    44         return "<?" . 
"php return " . var_export($this->data, 
true) . 
";";
    49         foreach ($a as $item) {
    50             if (is_string($item) || is_int($item) || is_float($item) || is_bool($item) || is_null($item)) {
    53             if (is_array($item)) {
    57             throw new \InvalidArgumentException(
    58                 "Array data for artifact may only contain ints, strings, floats, bools or " .
    59                 "other arrays with this content. Found: " . gettype($item)
 serialize()
This method will be called from the source, which wants to save the artifact. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
 
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples