You are here

public function FrozenParameterBagTest::testSet in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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

FrozenParameterBagTest

Namespace

Symfony\Component\DependencyInjection\Tests\ParameterBag

Code

public function testSet() {
  $bag = new FrozenParameterBag(array());
  $bag
    ->set('foo', 'bar');
}