LaravelSessionDriversDriver

Summary

No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A
abstract
File
sessiondriversdriver.php
Package
Default
Class hierarchy
LaravelSessionDriversDriver

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

abstract

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

abstract

Tags

None found

delete()

delete(string  $id) : void

Delete a session from storage by a given ID.

Parameters

string $id

abstract

Tags

None found

fresh()

fresh() : array

Create a fresh session array with a unique ID.

Returns

array

Tags

None found

id()

id() : string

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

Returns

string

Tags

None found