Answers for "symfony flash message"

PHP
0

symfony flash message

foreach ($session->getFlashBag()->all() as $type => $messages) {
    foreach ($messages as $message) {
        echo '<div class="flash-'.$type.'">'.$message.'</div>';
    }
}
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language