/**
* Returns a single row with (almost) all possibly relevant information of a product
*
* @param int $detailId
*
* @return array<string, mixed>|null
*/
public function getProductForListing($detailId) { $products =
$this->
getProductsForListing([$detailId]);
return array_shift($products);
} /**
* Returns a multiple row with (almost) all possibly relevant information of products
*
* @param array<int> $ids
*
* @return array<array<string, mixed>>
*/