| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Model |
||
| 8 | { |
||
| 9 | use Exporter; |
||
| 10 | |||
| 11 | private $attributes; |
||
| 12 | |||
| 13 | private $otherProperty; |
||
| 14 | |||
| 15 | public function __construct(array $attributes, $otherProperty = null) |
||
| 16 | { |
||
| 17 | $this->attributes = $attributes; |
||
| 18 | $this->otherProperty = $otherProperty; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function test($value): string |
||
| 24 | } |
||
| 25 | |||
| 26 | public function __get($name) |
||
| 29 | } |
||
| 30 | |||
| 31 | public function __isset($name): bool |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getOtherProperty() |
||
| 41 |