private function MockFileSessionStorage::getFilePath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Storage/MockFileSessionStorage.php \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage::getFilePath()
Calculate path to file.
Return value
string File path
3 calls to MockFileSessionStorage::getFilePath()
- MockFileSessionStorage::destroy in vendor/
symfony/ http-foundation/ Session/ Storage/ MockFileSessionStorage.php - Deletes a session from persistent storage. Deliberately leaves session data in memory intact.
- MockFileSessionStorage::read in vendor/
symfony/ http-foundation/ Session/ Storage/ MockFileSessionStorage.php - Reads session from storage and loads session.
- MockFileSessionStorage::save in vendor/
symfony/ http-foundation/ Session/ Storage/ MockFileSessionStorage.php - Force the session to be saved and closed.
File
- vendor/
symfony/ http-foundation/ Session/ Storage/ MockFileSessionStorage.php, line 123
Class
- MockFileSessionStorage
- MockFileSessionStorage is used to mock sessions for functional testing when done in a single PHP process.
Namespace
Symfony\Component\HttpFoundation\Session\StorageCode
private function getFilePath() {
return $this->savePath . '/' . $this->id . '.mocksess';
}