Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class ConfigurationDto |
||
26 | { |
||
27 | /** |
||
28 | * Property for configuration key |
||
29 | * |
||
30 | * @const string |
||
31 | */ |
||
32 | public const PROPERTY_KEY = 'key'; |
||
33 | |||
34 | /** |
||
35 | * Configuration key |
||
36 | * |
||
37 | * @var string |
||
38 | */ |
||
39 | private $key; |
||
40 | |||
41 | /** |
||
42 | * Sets configuration key |
||
43 | * |
||
44 | * @param string $key Configuration key |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function setKey(string $key): void |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Returns configuration key |
||
55 | * |
||
56 | * @return string|null |
||
57 | */ |
||
58 | public function getKey(): ?string |
||
63 |