| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | abstract class Sanity |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @throws LogicException |
||
| 13 | */ |
||
| 14 | public function & __get($name) |
||
| 15 | { |
||
| 16 | throw new LogicException('Cannot read an undeclared property ' . get_class($this) . "::\$$name."); |
||
|
|
|||
| 17 | } |
||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | * @throws LogicException |
||
| 22 | */ |
||
| 23 | public function __set($name, $value) |
||
| 26 | } |
||
| 27 | |||
| 29 |