Closed jacurtis closed 7 years ago
It would be cool to have a fluent interface to allow you to generate new notifications. Once again, like eloquent or something like that.
LaraFlash::new()->title('Error: ')->content('The Database Encountered a Problem!')->type('danger')->priority(10);
new()
title()
content()
type()
priority()
Resolved in b133729
It would be cool to have a fluent interface to allow you to generate new notifications. Once again, like eloquent or something like that.
Example
Chainable Commands
new()
- to generate a new notificationtitle()
- to set the title propertycontent()
- to set the content propertytype()
- to set the type propertypriority()
- to set the priority property