| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | class FileMapper extends CustomMapper |
||
| 14 | { |
||
| 15 | public $systemModuleId; |
||
| 16 | public $entityId; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * constructor. |
||
| 20 | * |
||
| 21 | * @param integer $entityId |
||
| 22 | * @param integer $systemModuleId |
||
| 23 | */ |
||
| 24 | 1 | public function __construct(int $entityId, int $systemModuleId) |
|
| 28 | 1 | } |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param Canvas\Models\FileSystem $file |
||
|
|
|||
| 32 | * @param Canvas\Dto\Files $fileDto |
||
| 33 | * @return Files |
||
| 34 | */ |
||
| 35 | 1 | public function mapToObject($fileEntity, $fileDto, array $context = []) |
|
| 49 |