Solar_Session::hasFlash()

public bool Solar_Session::hasFlash ( string $key )

Whether or not the session currently has a particular flash key stored.

Parameters

  • (string) $key: The flash key.

Returns

  • (bool) True if the session has this flash key in it, false if not.

Description

Whether or not the session currently has a particular flash key stored.

Does not return or remove the value of the key.



Local