public function findAll() { $all =
[];
$files =
$this->
findFiles();
$file_cache = FileCacheFactory::
get('help_topic_discovery:help_topics'
);
// Try to load from the file cache first.
foreach ($file_cache->
getMultiple(array_keys($files)) as $file =>
$data) { $all[$files[$file]][$data['id'
]] =
$data;
unset($files[$file]);
} // If there are files left that were not returned from the cache, load and
// parse them now. This list was flipped above and is keyed by filename.