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