trait InteractsWithSession

Methods

withSession(array $data)

Set the session to the given array.

session(array $data)

Set the session to the given array.

startSession()

Start the session for the application.

flushSession()

Flush all of the current session data.

Details

at line 14
InteractsWithSession withSession(array $data)

Set the session to the given array.

Parameters

array $data

Return Value

InteractsWithSession

at line 26
InteractsWithSession session(array $data)

Set the session to the given array.

Parameters

array $data

Return Value

InteractsWithSession

at line 43
protected InteractsWithSession startSession()

Start the session for the application.

Return Value

InteractsWithSession

at line 59
InteractsWithSession flushSession()

Flush all of the current session data.

Return Value

InteractsWithSession