| Total Complexity | 4 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | abstract class AbstractMapper { |
||
| 17 | |||
| 18 | 7 | protected function item(AbstractMapper $mapper, ...$data): Item { |
|
| 19 | 7 | return new Item($mapper, ...$data); |
|
| 20 | } |
||
| 21 | |||
| 22 | 1 | protected function itemCallable(callable $mappingFunction, ...$data): ItemCallable { |
|
| 24 | } |
||
| 25 | |||
| 26 | 7 | protected function collection(AbstractMapper $mapper, ...$data): Collection { |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | protected function collectionCallable(callable $mappingFunction, ...$data): CollectionCallable { |
|
| 34 |