Open xepozz opened 1 year ago
It's better to rename the ListenerCollection::add method to ListenerCollection::withListener because it's not clear that it's immutable
ListenerCollection::add
ListenerCollection::withListener
That would be a BC-breaking change.
Just mark it as deprecated and keep both until the next major version
It's better to rename the
ListenerCollection::add
method toListenerCollection::withListener
because it's not clear that it's immutable