ILIAS  release_7 Revision v7.30-3-g800a261c036
MetaDatum.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
28{
32 protected $key;
36 protected $value;
37
38 public function __construct(string $key, string $value)
39 {
40 $this->key = $key;
41 $this->value = $value;
42 }
43
44 public function getKey() : string
45 {
46 return $this->key;
47 }
48
49 public function getValue() : string
50 {
51 return $this->value;
52 }
53}
An exception for terminatinating execution or to throw for unit testing.