Flash
class Flash
Methods
static void
show($key)
Print out flash message based on key
static bool
isEmpty()
Method to check flash message value
static bool
has(string $key)
Check if key is exists or not
static void
includes(...$arguments)
Check key and return it
static array|null
get(string $key = '')
Retrieve data from session
static void
delete(string $key)
No description
static void
flush()
No description
__call($method, $arguments)
No description
Details
at line 20
static Flash
init()
No description
at line 33
static Flash
register(string $key, string $value, string $type = 'info')
Set flash message
at line 47
static void
show($key)
Print out flash message based on key
at line 86
static bool
isEmpty()
Method to check flash message value
at line 97
static bool
has(string $key)
Check if key is exists or not
at line 108
static void
includes(...$arguments)
Check key and return it
at line 123
static array|null
get(string $key = '')
Retrieve data from session
at line 132
static void
delete(string $key)
No description
at line 140
static void
flush()
No description
at line 145
__call($method, $arguments)
No description