trait Illuminate / Http / Concerns / InteractsWithFlashData

InteractsWithFlashData

Methods

public

old ( $key , $default ) : string|array|null

Retrieve an old input item.

Parameters

  • $key string|null
  • $default Model |string|array|null
public

flash ( ) : void

Flash the input for the current request to the session.

public

flashOnly ( $keys ) : void

Flash only some of the input to the session.

Parameters

  • $keys array|mixed
public

flashExcept ( $keys ) : void

Flash only some of the input to the session.

Parameters

  • $keys array|mixed
public

flush ( ) : void

Flush all of the old input from the session.