add set media fields
This commit is contained in:
parent
1ce7688d33
commit
fa8efd765f
10 changed files with 61 additions and 21 deletions
|
|
@ -25,13 +25,20 @@ class SetController
|
|||
}
|
||||
|
||||
/**
|
||||
* @return array{id: int, name: string}
|
||||
* @return array{
|
||||
* id: int,
|
||||
* name: string,
|
||||
* description: string,
|
||||
* iconImageUrl: string
|
||||
* }
|
||||
*/
|
||||
private function buildSetPayload(DomainSet $set): array
|
||||
{
|
||||
return [
|
||||
'id' => $set->getId(),
|
||||
'name' => $set->getName(),
|
||||
'description' => $set->getDescription(),
|
||||
'iconImageUrl' => $set->getIconImageUrl(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue