LaravelSessionDriversMemory

Summary

No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A
File
sessiondriversmemory.php
Package
Default
Class hierarchy
LaravelSessionDriversMemory

Tags

None found

Properties

$session

$session : array

The session payload that will be returned by the driver.

Type

array

Tags

None found

Methods

load()

load(string  $id) : array

Load a session from storage by a given ID.

If no session is found for the ID, null will be returned.

Parameters

string $id

Returns

array

Tags

None found

save()

save(array  $session, array  $config, boolean  $exists) : void

Save a given session to storage.

Parameters

array $session
array $config
boolean $exists

Tags

None found

delete()

delete(string  $id) : void

Delete a session from storage by a given ID.

Parameters

string $id

Tags

None found

fresh()

fresh() : array

Create a fresh session array with a unique ID.

Returns

array

Inherited from
LaravelSessionDriversDriver

Tags

None found

id()

id() : string

Get a new session ID that isn't assigned to any current session.

Returns

string

Inherited from
LaravelSessionDriversDriver

Tags

None found