if (isset($this->manifestData
[$path])) { return $this->manifestData
[$path];
} if ($this->strictMode
) { $message =
sprintf('Asset "%s" not found in manifest "%s".',
$path,
$this->manifestPath
);
$alternatives =
$this->
findAlternatives($path,
$this->manifestData
);
if (\
count($alternatives) > 0
) { $message .=
sprintf(' Did you mean one of these? "%s".',
implode('", "',
$alternatives));
} throw new AssetNotFoundException($message,
$alternatives);
} return null;
} private function findAlternatives(string
$path, array
$manifestData): array
{ $path =
strtolower($path);
$alternatives =
[];
foreach ($manifestData as $key =>
$value) {