ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
StorageOnPathWrapper.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2020 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\Setup\Metrics
;
6
7
class
StorageOnPathWrapper
implements
Storage
8
{
9
use
StorageConvenience
;
10
14
protected
$path
;
15
19
protected
$other
;
20
21
public
function
__construct
(
string
$path
,
Storage
$other
)
22
{
23
$this->path =
$path
;
24
$this->other =
$other
;
25
}
26
30
public
function
store
(
string
$key,
Metric
$metric) : void
31
{
32
$this->other->store(
"{$this->path}.$key"
, $metric);
33
}
34
}
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:7
ILIAS\Setup\Metrics\StorageConvenience
trait StorageConvenience
Implements the convenience methods of Storage over Storage::store.
Definition:
StorageConvenience.php:13
ILIAS\Setup\Metrics\StorageOnPathWrapper\store
store(string $key, Metric $metric)
Definition:
StorageOnPathWrapper.php:30
ILIAS\Setup\Metrics\Metric
A metric is something we can measure about the system.
Definition:
Metric.php:17
ILIAS\Setup\Metrics\StorageOnPathWrapper\$other
$other
Definition:
StorageOnPathWrapper.php:19
ILIAS\Setup\Metrics
Definition:
ArrayStorage.php:5
ILIAS\Setup\Metrics\StorageOnPathWrapper
Definition:
StorageOnPathWrapper.php:7
ILIAS\Setup\Metrics\StorageOnPathWrapper\$path
$path
Definition:
StorageOnPathWrapper.php:14
ILIAS\Setup\Metrics\StorageOnPathWrapper\__construct
__construct(string $path, Storage $other)
Definition:
StorageOnPathWrapper.php:21
src
Setup
Metrics
StorageOnPathWrapper.php
Generated on Fri Apr 4 2025 21:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)