This software enables the transmission of various message types across controller chains.
Alternatively, you can also add messages directly from the language file using the addErrorKey method, which takes in a language service key. This feature saves time and effort, as you don't need to create new messages each time, it can be pulled from the language file.
One great benefit of this service is that it can put a user notification at the top of a page or screen which is an optimal feature for screens with multiple active controllers. With Solstice::MessageService notification at the top, you can display pertinent messages from each controller without a trickle up chain.
Additionally, it eliminates the need for parent controllers to check for error objects in child controllers as everything can be managed on the same screen. The service has a priority chain too, so only one type of message will be displayed at a time which avoids clutter and confusion.
Overall, Solstice::MessageService is a fantastic option for adding a message service to your software project. Its flexibility and ease of use are superb advantages to any development team.
Version 1440: N/A