Solar_Session::getFlash()

public mixed Solar_Session::getFlash ( string $key , mixed $val = 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.



Local