Spec-Zone.ru › Symfony 3.4

ИсключениеServiceNotFoundException

класс ServiceNotFoundException расширяет InvalidArgumentException и реализует NotFoundExceptionInterface

Это исключение выбрасывается, когда запрашивается несуществующая служба.

Методы

__construct($id, $sourceId = null, Exception $previous = null, array $alternatives = array(), $msg = null)
getId()
getSourceId()
getAlternatives()

Подробности

__construct($id, $sourceId = null, Exception $previous = null, array $alternatives = array(), $msg = null)

Параметры

$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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API