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 12
InteractsWithSession withSession(array $data)

Set the session to the given array.

Parameters

array $data

Return Value

InteractsWithSession

at line 22
InteractsWithSession session(array $data)

Set the session to the given array.

Parameters

array $data

Return Value

InteractsWithSession

at line 36
protected InteractsWithSession startSession()

Start the session for the application.

Return Value

InteractsWithSession

at line 48
InteractsWithSession flushSession()

Flush all of the current session data.

Return Value

InteractsWithSession