trait InteractsWithSession (View source)

Methods

$this
withSession(array $data)

Set the session to the given array.

$this
session(array $data)

Set the session to the given array.

$this
startSession()

Start the session for the application.

$this
flushSession()

Flush all of the current session data.

Details

$this withSession(array $data)

Set the session to the given array.

Parameters

array $data

Return Value

$this

$this session(array $data)

Set the session to the given array.

Parameters

array $data

Return Value

$this

protected $this startSession()

Start the session for the application.

Return Value

$this

$this flushSession()

Flush all of the current session data.

Return Value

$this