class Illuminate / Session / CookieSessionHandler

CookieSessionHandler

Implements

Uses

Properties

protected

The cookie jar instance.

Default: null
protected

$request Symfony\...\Request

The request instance.

Default: null
protected

$minutes int

The number of minutes the session should be valid.

Default: null
protected

$expireOnClose bool

Indicates whether the session should be expired when the browser closes.

Default: null

Methods

public

__construct ( QueueingFactory $cookie , $minutes , $expireOnClose ) : void

Create a new cookie driven handler instance.

Parameters

public

open ( $savePath , $sessionName ) : bool

{@inheritdoc}

public

close ( ) : bool

{@inheritdoc}

public

read ( $sessionId ) : string|false

{@inheritdoc}

public

write ( $sessionId , $data ) : bool

{@inheritdoc}

public

destroy ( $sessionId ) : bool

{@inheritdoc}

public

gc ( $lifetime ) : int

{@inheritdoc}

public

setRequest ( Symfony\...\Request $request ) : void

Set the request instance.

Parameters

  • $request Symfony\...\Request