3 declare(strict_types=1);
42 $path = explode(
".", $key);
43 $this->metrics = $this->
doStore($this->metrics,
$path, $metric);
51 $key = array_shift($path);
52 if (count($path) == 0) {
53 $base[
$key] = $metric;
61 public function get(): array
trait StorageConvenience
Implements the convenience methods of Storage over Storage::store.
doStore(array $base, array $path, $metric)
Recursive implementation of storing.
A metric is something we can measure about the system.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
store(string $key, Metric $metric)