$this->snippetFixer->
fix($missingSnippetsCollection);
return self::SUCCESS;
} private function hydrateMissingSnippets(array
$missingSnippetsArray): MissingSnippetCollection
{ $missingSnippetsCollection =
new MissingSnippetCollection();
foreach ($missingSnippetsArray as $locale =>
$missingSnippets) { foreach ($missingSnippets as $key =>
$missingSnippet) { $missingSnippetsCollection->
add(new MissingSnippetStruct($key,
$missingSnippet['path'
],
$missingSnippet['availableISO'
],
$missingSnippet['availableValue'
],
$locale));
} } return $missingSnippetsCollection;
}}