| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class CollectionService |
||
| 13 | { |
||
| 14 | use CommandInstanceTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param Collection $collection |
||
| 18 | * @return CollectionDTO |
||
| 19 | */ |
||
| 20 | public function fillCollectionDTO(Collection $collection): CollectionDTO |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param CollectionDTO $collectionDTO |
||
| 31 | * @return CreateCollectionCommand|UpdateCollectionCommand |
||
| 32 | */ |
||
| 33 | public function getCommand(CollectionDTO $collectionDTO): CommandInterface |
||
| 42 | } |