Previous Page
get()

Solar_Session
getFlash()

Next Page
hasFlash()

getFlash()

public mixed getFlash ( string $key, mixed $val default NULL )

Gets a flash value by key, thereby removing the value.

Parameters

  • (string) $key: The flash key.
  • (mixed) $val: If key does not exist, returns this value instead. Default null.

Returns

  • (mixed) The flash value.

Description

Gets a flash value by key, thereby removing the value.