getFlash() public method
public mixed getFlash ( $key, $defaultValue = null, $delete = false ) | ||
---|---|---|
$key | string |
The key identifying the flash message |
$defaultValue | mixed |
Value to be returned if the flash message does not exist. |
$delete | boolean |
Whether to delete this flash message right after this method is called. If false, the flash message will be automatically deleted in the next request. |
return | mixed |
The flash message or an array of messages if addFlash was used |
Please login to continue.