31 return "<?" .
"php return " . var_export($this->data,
true) .
";";
36 foreach ($a as $item) {
37 if (is_string($item) || is_int($item) || is_float($item) || is_bool($item) || is_null($item)) {
40 if (is_array($item)) {
44 throw new \InvalidArgumentException(
45 "Array data for artifact may only contain ints, strings, floats, bools or " .
46 "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...
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