class Flash

Methods

static Flash
init()

No description

static Flash
register(string $key, string $value, string $type = 'info')

Set flash message

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

Return Value

Flash

at line 33
static Flash register(string $key, string $value, string $type = 'info')

Set flash message

Parameters

string $key
string $value
string $type

Return Value

Flash

at line 47
static void show($key)

Print out flash message based on key

Parameters

$key

Return Value

void

at line 86
static bool isEmpty()

Method to check flash message value

Return Value

bool

at line 97
static bool has(string $key)

Check if key is exists or not

Parameters

string $key

Return Value

bool

at line 108
static void includes(...$arguments)

Check key and return it

Parameters

...$arguments

Return Value

void

at line 123
static array|null get(string $key = '')

Retrieve data from session

Parameters

string $key

Return Value

array|null

at line 132
static void delete(string $key)

No description

Parameters

string $key

Return Value

void

at line 140
static void flush()

No description

Return Value

void

at line 145
__call($method, $arguments)

No description

Parameters

$method
$arguments