1 | <?php |
||
13 | class Properties implements PropertiesInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | protected $storage = []; |
||
19 | |||
20 | /** |
||
21 | * @param string $key |
||
22 | * @param null|string $defaultValue |
||
23 | * |
||
24 | * @return mixed |
||
25 | */ |
||
26 | 39 | public function getProperty($key, $defaultValue = null) |
|
34 | |||
35 | |||
36 | /** |
||
37 | * @param string $key |
||
38 | * @param string $value |
||
39 | * |
||
40 | * @return $this |
||
41 | */ |
||
42 | 36 | public function setProperty($key, $value) |
|
48 | } |
||
49 |