InteractsWithSession
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.
$this
session(array $data)
Set the session to the given array.
protected $this
startSession()
Start the session for the application.
$this
flushSession()
Flush all of the current session data.