private function MockFileSessionStorage::getFilePath

Calculate path to file.

Return value

string File path

3 calls to MockFileSessionStorage::getFilePath()
MockFileSessionStorage::destroy in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php
Deletes a session from persistent storage. Deliberately leaves session data in memory intact.
MockFileSessionStorage::read in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php
Reads session from storage and loads session.
MockFileSessionStorage::save in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php
Force the session to be saved and closed.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php, line 124

Class

MockFileSessionStorage
MockFileSessionStorage is used to mock sessions for functional testing when done in a single PHP process.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

private function getFilePath() {
  return $this->savePath . '/' . $this->id . '.mocksess';
}