mini\flash_get() Function

Documentation

Retrieve and clear all flash messages from the session

Returns an array of flash messages and removes them from the session, ensuring each message is only displayed once.

Signature

function flash_get(): array

Returns

array

Source

functions.php:146-153