Spec-Zone.ru › Symfony 3.0

ParameterNotFoundException

class ParameterNotFoundException extends 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/3.0/Symfony/Component/DependencyInjection/Exception/ParameterNotFoundException.html

Spec-Zone.ru

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