protected function AttributeBagTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Attribute\AttributeBagTest::setUp()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Attribute/ AttributeBagTest.php, line 33
Class
- AttributeBagTest
- Tests AttributeBag.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\AttributeCode
protected function setUp() {
$this->array = array(
'hello' => 'world',
'always' => 'be happy',
'user.login' => 'drak',
'csrf.token' => array(
'a' => '1234',
'b' => '4321',
),
'category' => array(
'fishing' => array(
'first' => 'cod',
'second' => 'sole',
),
),
);
$this->bag = new AttributeBag('_sf2');
$this->bag
->initialize($this->array);
}