public function getSnippetsByUuids(array $uuids, $locale, $loadGhostContent = false)
{
$snippets = [];
foreach ($uuids as $uuid) {
try {
$snippet = $this->documentManager->find($uuid, $locale, ['load_ghost_content' => $loadGhostContent]);
$snippets[] = $snippet;
} catch (DocumentNotFoundException $e) {
// ignore not found items
}
}
return $snippets;
}