ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Setup\Metrics\StorageOnPathWrapper Class Reference
+ Inheritance diagram for ILIAS\Setup\Metrics\StorageOnPathWrapper:
+ Collaboration diagram for ILIAS\Setup\Metrics\StorageOnPathWrapper:

Public Member Functions

 __construct (string $path, Storage $other)
 
 store (string $key, Metric $metric)
 
- Public Member Functions inherited from ILIAS\Setup\Metrics\Storage
 storeConfigBool (string $key, bool $value, ?string $description=null)
 
 storeConfigCounter (string $key, int $value, ?string $description=null)
 
 storeConfigGauge (string $key, $value, ?string $description=null)
 
 storeConfigTimestamp (string $key, \DateTimeImmutable $value, ?string $description=null)
 
 storeConfigText (string $key, string $value, ?string $description=null)
 
 storeStableBool (string $key, bool $value, ?string $description=null)
 
 storeStableCounter (string $key, int $value, ?string $description=null)
 
 storeStableGauge (string $key, $value, ?string $description=null)
 
 storeStableTimestamp (string $key, \DateTimeImmutable $value, ?string $description=null)
 
 storeStableText (string $key, string $value, ?string $description=null)
 
 storeVolatileBool (string $key, bool $value, ?string $description=null)
 
 storeVolatileCounter (string $key, int $value, ?string $description=null)
 
 storeVolatileGauge (string $key, $value, ?string $description=null)
 
 storeVolatileTimestamp (string $key, \DateTimeImmutable $value, ?string $description=null)
 
 storeVolatileText (string $key, string $value, ?string $description=null)
 

Protected Attributes

string $path
 
Storage $other
 

Detailed Description

Definition at line 23 of file StorageOnPathWrapper.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Setup\Metrics\StorageOnPathWrapper::__construct ( string  $path,
Storage  $other 
)

Member Function Documentation

◆ store()

ILIAS\Setup\Metrics\StorageOnPathWrapper::store ( string  $key,
Metric  $metric 
)

Implements ILIAS\Setup\Metrics\Storage.

Definition at line 39 of file StorageOnPathWrapper.php.

39  : void
40  {
41  $this->other->store("$this->path.$key", $metric);
42  }

Field Documentation

◆ $other

Storage ILIAS\Setup\Metrics\StorageOnPathWrapper::$other
protected

◆ $path

string ILIAS\Setup\Metrics\StorageOnPathWrapper::$path
protected

The documentation for this class was generated from the following file: