class ResolverNotFoundException
Hierarchy
- class \Symfony\Component\HttpKernel\Exception\ResolverNotFoundException extends \Symfony\Component\HttpKernel\Exception\RuntimeException
Expanded class hierarchy of ResolverNotFoundException
1 file declares its use of ResolverNotFoundException
- ArgumentResolver.php in vendor/
symfony/ http-kernel/ Controller/ ArgumentResolver.php
File
-
vendor/
symfony/ http-kernel/ Exception/ ResolverNotFoundException.php, line 14
Namespace
Symfony\Component\HttpKernel\ExceptionView source
class ResolverNotFoundException extends \RuntimeException {
/**
* @param string[] $alternatives
*/
public function __construct(string $name, array $alternatives = []) {
$msg = \sprintf('You have requested a non-existent resolver "%s".', $name);
if ($alternatives) {
if (1 === \count($alternatives)) {
$msg .= ' Did you mean this: "';
}
else {
$msg .= ' Did you mean one of these: "';
}
$msg .= implode('", "', $alternatives) . '"?';
}
parent::__construct($msg);
}
}