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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Foundation/Testing/Concerns/InteractsWithSession.html