| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | abstract class DaftWriteableObjectMemoryTree extends DaftObjectMemoryTree implements DaftNestedWriteableObjectTree |
||
| 12 | { |
||
| 13 | use TraitWriteableTree; |
||
| 14 | |||
| 15 | 88 | protected function RememberDaftObjectData(DefinesOwnIdPropertiesInterface $object) : void |
|
| 16 | { |
||
| 17 | 88 | static::ThrowIfNotType($object, DaftNestedWriteableObject::class, 1, __METHOD__); |
|
| 18 | |||
| 19 | 88 | parent::RememberDaftObjectData($object); |
|
| 20 | 88 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @param DaftObject|string $object |
||
| 24 | */ |
||
| 25 | 102 | protected static function ThrowIfNotType( |
|
| 42 | 100 | } |
|
| 43 | } |
||
| 44 |