Commit 0e70e3d3 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Messenger : rétablissement méthode supprimée par erreur.

parent 7a2ecf2c
......@@ -237,6 +237,21 @@ class Messenger extends AbstractHelper
return $this;
}
/**
* Ajoute plusieurs messages.
*
* @param array $messages [Sévérité => Message]
* @return Messenger
*/
public function addMessages($messages)
{
foreach ($messages as $severity => $message) {
$this->addMessage($message, $severity);
}
return $this;
}
/**
* Ajoute les messages courants du FlashMessenger.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment