| Total Complexity | 5 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 27 | class WithoutMagicPropertiesClass implements IStrictPropertiesContainer |
||
| 28 | { |
||
| 29 | use PropertiesHandler; |
||
| 30 | |||
| 31 | public function __construct() |
||
| 32 | { |
||
| 33 | $this->magic_ = 'magic'; |
||
| 34 | $this->noMagicProperty = 'no magic'; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * |
||
| 39 | * @var string |
||
| 40 | */ |
||
| 41 | private $magic_; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * |
||
| 45 | * |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | protected function getMagicProperty() : string |
||
| 49 | { |
||
| 50 | return $this->magic_; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * |
||
| 55 | * @param string $value |
||
| 56 | */ |
||
| 57 | protected function setMagicProperty(string $value) |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * |
||
| 64 | * @var string |
||
| 65 | */ |
||
| 66 | private $noMagicProperty; |
||
| 67 | |||
| 68 | /** |
||
| 69 | * |
||
| 70 | * |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | protected function getNoMagicProperty() : string |
||
| 76 | } |
||
| 77 | |||
| 78 | /** |
||
| 79 | * |
||
| 80 | * @param string $value |
||
| 81 | */ |
||
| 82 | protected function setNoMagicProperty(string $value) |
||
| 88 |