public static function getResponsesForReadWithLastModified(): \Generator
{ $lastModifieds =
[ 'en' => 'Tue, 16 Nov 2021 11:35:24 GMT',
'fr' => 'Wed, 17 Nov 2021 11:22:33 GMT',
];
foreach (self::
getResponsesForManyLocalesAndManyDomains() as [$locales,
$domains,
$responseContents,
$expectedTranslatorBag]) { foreach ($locales as $locale) { foreach ($domains as $domain) { $catalogue =
$expectedTranslatorBag->
getCatalogue($locale);
$catalogue->
setCatalogueMetadata('last-modified',
$lastModifieds[$locale],
$domain);
} } yield [$locales,
$domains,
$responseContents,
$lastModifieds,
$expectedTranslatorBag];
} }}