ILIAS  release_7 Revision v7.30-3-g800a261c036
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 ($key, bool $value, string $description=null)
 
 storeConfigCounter ($key, int $value, string $description=null)
 
 storeConfigGauge ($key, $value, string $description=null)
 
 storeConfigTimestamp ($key, \DateTimeImmutable $value, string $description=null)
 
 storeConfigText ($key, string $value, string $description=null)
 
 storeStableBool ($key, bool $value, string $description=null)
 
 storeStableCounter ($key, int $value, string $description=null)
 
 storeStableGauge ($key, $value, string $description=null)
 
 storeStableTimestamp ($key, \DateTimeImmutable $value, string $description=null)
 
 storeStableText ($key, string $value, string $description=null)
 
 storeVolatileBool ($key, bool $value, string $description=null)
 
 storeVolatileCounter ($key, int $value, string $description=null)
 
 storeVolatileGauge ($key, $value, string $description=null)
 
 storeVolatileTimestamp ($key, \DateTimeImmutable $value, string $description=null)
 
 storeVolatileText ($key, string $value, string $description=null)
 

Protected Attributes

 $path
 
 $other
 

Detailed Description

Definition at line 7 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 30 of file StorageOnPathWrapper.php.

30  : void
31  {
32  $this->other->store("{$this->path}.$key", $metric);
33  }

Field Documentation

◆ $other

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

◆ $path

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

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