class ServiceNotFoundException extends InvalidArgumentException implements NotFoundExceptionInterface
This exception is thrown when a non-existent service is requested.
__construct(string $id, string $sourceId = null, Exception $previous = null, array $alternatives = array(), string $msg = null) | ||
getId() | ||
getSourceId() | ||
getAlternatives() |
string | $id | |
string | $sourceId | |
Exception | $previous | |
array | $alternatives | |
string | $msg |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Exception/ServiceNotFoundException.html