[DependencyInjection] Freeze also FrozenParameterBag::remove
This commit is contained in:
parent
7c36f0b9a0
commit
4a72c441d5
|
@ -69,4 +69,14 @@ class FrozenParameterBag extends ParameterBag
|
||||||
{
|
{
|
||||||
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
|
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
public function remove($name)
|
||||||
|
{
|
||||||
|
throw new LogicException('Impossible to call remove() on a frozen ParameterBag.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue