InteractsWithSession
trait InteractsWithSession (View source)
Methods
$this withSession(array $data) Set the session to the given array. void session(array $data) Set the session to the given array. void flushSession() Flush all of the current session data. void seeInSession(string|array $key, mixed $value = null) Assert that the session has a given value. void assertSessionHas(string|array $key, mixed $value = null) Assert that the session has a given value. void