Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Illuminate
Foundation
Testing
Concerns
InteractsWithSession
withSession
Illuminate\Foundation\Testing\Concerns\InteractsWithSession::withSession PHP Method
InteractsWithSession Trait Documentation
Show file
Open project: laravel/framework
withSession()
public
method
Set the session to the given array.
public
withSession
(
array
$data
)
$data
array
public function withSession(array $data) { $this->session($data); return $this; }
InteractsWithSession
assertHasOldInput
assertSessionHas
assertSessionHasAll
assertSessionHasErrors
assertSessionMissing
flushSession
seeInSession
session
startSession
withSession