LaravelSessionDriversRedis

Summary

No public properties found
No constants found
No protected methods found
N/A
No private methods found
No private properties found
N/A
File
sessiondrivers edis.php
Package
Default
Class hierarchy
LaravelSessionDriversRedis

Tags

None found

Properties

$redis

$redis : \Laravel\Session\Drivers\Laravel\Cache\Drivers\Redis

The Redis cache driver instance.

Type

LaravelSessionDriversLaravelCacheDriversRedis

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

__construct()

__construct(\Laravel\Session\Drivers\Laravel\Cache\Drivers\Redis  $redis) : void

Create a new Redis session driver.

Parameters

LaravelSessionDriversLaravelCacheDriversRedis $redis

Tags

None found