Total Complexity | 3 |
Total Lines | 63 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | trait WriteableTreeTrait |
||
20 | { |
||
21 | /** |
||
22 | * @param scalar|(scalar|array|object|null)[] $id |
||
23 | * |
||
24 | * @psalm-param class-string<T> $type |
||
25 | * |
||
26 | * @psalm-return T |
||
27 | */ |
||
28 | abstract public function RecallDaftObjectOrThrow( |
||
29 | $id, |
||
30 | string $type = SuitableForRepositoryType::class |
||
31 | ) : SuitableForRepositoryType; |
||
32 | |||
33 | abstract protected function DaftObjectDatabaseTable() : string; |
||
34 | |||
35 | /** |
||
36 | * @psalm-return T |
||
37 | */ |
||
38 | 24 | protected function ObtainLastLeafInTree() : DaftNestedWriteableObject |
|
84 |