You are here

protected function AutoExpireFlashBagTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/Flash/AutoExpireFlashBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Flash\AutoExpireFlashBagTest::setUp()

File

vendor/symfony/http-foundation/Tests/Session/Flash/AutoExpireFlashBagTest.php, line 33

Class

AutoExpireFlashBagTest
AutoExpireFlashBagTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Flash

Code

protected function setUp() {
  parent::setUp();
  $this->bag = new FlashBag();
  $this->array = array(
    'new' => array(
      'notice' => array(
        'A previous flash message',
      ),
    ),
  );
  $this->bag
    ->initialize($this->array);
}