return [];
} } finally { spl_autoload_unregister([ClassExistenceResource::
class, 'throwOnRequiredClass'
]);
} // the ArrayAdapter stores the values serialized
// to avoid mutation of the data after it was written to the cache
// so here we un-serialize the values first
$values =
array_map(fn ($val) => null !==
$val ?
unserialize($val) : null,
$arrayAdapter->
getValues());
return $this->
warmUpPhpArrayAdapter(new PhpArrayAdapter($this->phpArrayFile,
new NullAdapter()),
$values);
} /**
* @return string[] A list of classes to preload on PHP 7.4+
*/
protected function warmUpPhpArrayAdapter(PhpArrayAdapter
$phpArrayAdapter, array
$values): array
{ return (array) $phpArrayAdapter->
warmUp($values);
} /**
* @internal
*/