Symfony2 API
Class

Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException

class ParameterNotFoundException extends InvalidArgumentException

This exception is thrown when a non-existent parameter is used.

Methods

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

Constructor.

updateRepr()

getKey()

getSourceId()

getSourceKey()

setSourceId($sourceId)

setSourceKey($sourceKey)

Details

at line 35
public __construct(string $key, string $sourceId = null, string $sourceKey = null, Exception $previous = null, array $alternatives = array())

Constructor.

Parameters

string $key The requested parameter key
string $sourceId The service id that references the non-existent parameter
string $sourceKey The parameter key that references the non-existent parameter
Exception $previous The previous exception
array $alternatives Some parameter name alternatives

at line 47
public updateRepr()

at line 67
public getKey()

at line 72
public getSourceId()

at line 77
public getSourceKey()

at line 82
public setSourceId($sourceId)

Parameters

$sourceId

at line 89
public setSourceKey($sourceKey)

Parameters

$sourceKey