Messages section
Definition at line 17 of file Messages.php.
◆ __construct()
Constructor
- Parameters
-
MessageManager | $messageManager | |
InterpretationStrategyInterface | $interpretationStrategy | |
Definition at line 37 of file Messages.php.
42 $this->interpretationStrategy = $interpretationStrategy;
◆ getSectionData()
Get data
- Returns
- array
Implements SectionSourceInterface.
Definition at line 48 of file Messages.php.
50 $messages = $this->messageManager->getMessages(
true);
52 'messages' => array_reduce(
53 $messages->getItems(),
57 'text' => $this->interpretationStrategy->interpret(
$message)
◆ $messageManager
The documentation for this class was generated from the following file: