We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes instead of doing just display() dev need to get messages array.
foreach( $_SESSION['flash_messages'][$type] as $msgData ) {
From display() code I realized that $msgData should be returned or all flash_messages container depending on provided parameter $type.
$msgData
flash_messages
$type
The text was updated successfully, but these errors were encountered:
Typical use-case
$msg = new FlashMessages(); Debug::dump($msg->getMessages()); Debug::dump($msg->getMessages(FlashMessages::INFO));
Sorry, something went wrong.
No branches or pull requests
Sometimes instead of doing just display() dev need to get messages array.
From display() code I realized that
$msgData
should be returned or allflash_messages
container depending on provided parameter$type
.The text was updated successfully, but these errors were encountered: