You are here

public function MockArraySessionStorage::setSessionData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php \Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage::setSessionData()

Sets the session data.

Parameters

array $array:

File

vendor/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php, line 82

Class

MockArraySessionStorage
MockArraySessionStorage mocks the session for unit tests.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function setSessionData(array $array) {
  $this->data = $array;
}