You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm unsure about this one, so would like some input from the community to get some second opinions.
How do people feel about a new
NotifiableCollection
trait, that can be applied to eloquent/lazy collections.This would allow for more fluidity when sending the same notification to a collection of notifiables, rather than having to iterate manually.
For example:
Rather than
Within the new
NotifiableCollection
trait, the method would look something like:All of this might not even be worth it, it's purely for a tiny bit of convenience :)
Beta Was this translation helpful? Give feedback.
All reactions