ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
KeyValue.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
25class KeyValue extends InterruptiveItem implements KeyValueInterface
26{
27 protected string $key;
28 protected string $value;
29
30 public function __construct(
31 string $id,
32 string $key,
33 string $value
34 ) {
36
37 $this->key = $key;
38 $this->value = $value;
39 }
40
41 public function getKey(): string
42 {
43 return $this->key;
44 }
45
46 public function getValue(): string
47 {
48 return $this->value;
49 }
50}
__construct(string $id, string $key, string $value)
Definition: KeyValue.php:30
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc