public function FrozenParameterBagTest::testSet in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/ParameterBag/FrozenParameterBagTest.php \Symfony\Component\DependencyInjection\Tests\ParameterBag\FrozenParameterBagTest::testSet()
@covers Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::set @expectedException \LogicException
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ ParameterBag/ FrozenParameterBagTest.php, line 45
Class
Namespace
Symfony\Component\DependencyInjection\Tests\ParameterBagCode
public function testSet() {
$bag = new FrozenParameterBag(array());
$bag
->set('foo', 'bar');
}