Kingson-de /
marshal-serializer
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types = 1); |
||
| 4 | |||
| 5 | namespace KingsonDe\Marshal\Data; |
||
| 6 | |||
| 7 | class Collection extends AbstractDataStructure { |
||
| 8 | |||
| 9 | use CollectionTrait; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @inheritdoc |
||
| 13 | */ |
||
| 14 | 11 | protected function mapData($model, ...$data) { |
|
| 15 | /** @noinspection PhpUndefinedMethodInspection */ |
||
| 16 | 11 | return $this->getMapper()->map($model, ...$data); |
|
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 17 | } |
||
| 18 | } |
||
| 19 |