Spec-Zone.ru › Symfony 2.8

Исключение ParameterNotFoundException

класс ParameterNotFoundException расширяет InvalidArgumentException

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

Методы

__construct(string $key, string $sourceId = null, string $sourceKey = null, Exception $previous = null, array $alternatives = array())
updateRepr()
getKey()
getSourceId()
getSourceKey()
setSourceId($sourceId)
setSourceKey($sourceKey)

Подробности

__construct(string $key, string $sourceId = null, string $sourceKey = null, Exception $previous = null, array $alternatives = array())

Параметры

string $key Запрашиваемый ключ параметра
string $sourceId Идентификатор сервиса, ссылающийся на несуществующий параметр
string $sourceKey Ключ параметра, ссылающийся на несуществующий параметр
Exception $previous Предыдущее исключение
array $alternatives Возможные альтернативные имена параметров

updateRepr()

getKey()

getSourceId()

getSourceKey()

setSourceId($sourceId)

Параметры

$sourceId

setSourceKey($sourceKey)

Параметры

$sourceKey

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/DependencyInjection/Exception/ParameterNotFoundException.html

Spec-Zone.ru

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