| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | 1 | public function getPropertyMappings(): array |
|
| 36 | { |
||
| 37 | return [ |
||
| 38 | 1 | new PropertyMapping('name'), |
|
| 39 | 1 | new PropertyMapping('level'), |
|
| 40 | 1 | new PropertyMapping('progress'), |
|
| 41 | 1 | new PropertyMapping('active'), |
|
| 42 | 1 | new PropertyMapping('documents', new PropertyModelCollectionDeserializer(Document::class, true)), |
|
| 43 | ]; |
||
| 44 | } |
||
| 45 | } |
||
| 46 |