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