public function FrozenParameterBagTest::testSet in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/ParameterBag/FrozenParameterBagTest.php \Symfony\Component\DependencyInjection\Tests\ParameterBag\FrozenParameterBagTest::testSet()
@covers Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::set @expectedException \LogicException
File
- vendor/
symfony/ dependency-injection/ Tests/ ParameterBag/ FrozenParameterBagTest.php, line 45
Class
Namespace
Symfony\Component\DependencyInjection\Tests\ParameterBagCode
public function testSet() {
$bag = new FrozenParameterBag(array());
$bag
->set('foo', 'bar');
}