Documentation

InteractsWithSession

Table of Contents

flushSession()  : $this
Flush all of the current session data.
session()  : $this
Set the session to the given array.
withSession()  : $this
Set the session to the given array.
startSession()  : $this
Start the session for the application.

Methods

flushSession()

Flush all of the current session data.

public flushSession() : $this
Return values
$this

session()

Set the session to the given array.

public session(array<string|int, mixed> $data) : $this
Parameters
$data : array<string|int, mixed>
Return values
$this

withSession()

Set the session to the given array.

public withSession(array<string|int, mixed> $data) : $this
Parameters
$data : array<string|int, mixed>
Return values
$this

startSession()

Start the session for the application.

protected startSession() : $this
Return values
$this

Search results