trait Illuminate / Foundation / Testing / Concerns / InteractsWithSession
You are viewing an older version of the documentation. For the latest, please visit master documentation.

InteractsWithSession

Methods

public

withSession ( array $data ) : $this

Set the session to the given array.

Parameters

  • $data array
public

session ( array $data ) : $this

Set the session to the given array.

Parameters

  • $data array
protected

startSession ( ) : $this

Start the session for the application.

public

flushSession ( ) : $this

Flush all of the current session data.