return $producer;
} /**
* @return PictureStruct[]
*/
private function hydratePictures(array
$data): array
{ $pictures =
[];
foreach ($data as $row) { $picture =
new PictureStruct();
$picture->
setCover((bool) $row['preview'
]);
$picture->
setRemoteLink($row['remoteLink'
]);
$pictures[] =
$picture;
} return $pictures;
} /**
* @return PriceStruct[]
*/