| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class AbstractImmutable |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Don't __set my stuff you heathen! |
||
| 19 | * |
||
| 20 | * This is here mostly because somebody may make a mistake and do something like $immutable->unexistingProperty = something |
||
| 21 | * which would actually work without throwing an error if the bellow wouldn't throw one |
||
| 22 | * |
||
| 23 | * @param $key |
||
| 24 | * @param $value |
||
| 25 | * |
||
| 26 | * @throws ImmutableException |
||
| 27 | */ |
||
| 28 | public function __set($key, $value) |
||
| 31 | } |
||
| 32 | } |