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 | assertSessionHasAll(array $bindings) Assert that the session has a given list of values. | |
| void | assertSessionMissing(string|array $key) Assert that the session does not have a given key. | |
| void | assertSessionHasErrors(string|array $bindings = array(), mixed $format = null) Assert that the session has errors bound. | |
| void | assertHasOldInput() Assert that the session has old input. |
Please login to continue.