better-wordpress-hooks icon indicating copy to clipboard operation
better-wordpress-hooks copied to clipboard

Results 7 better-wordpress-hooks issues
Sort by recently updated
recently updated
newest added

It would be create to have one listener class listen to any dispatched event that has a specific interface.

enhancement

Assuming the following 2 Listener. ```php NewAppointment::class => [ SendStaffBookingConfirmationEmail::class, StaffBookingCustomerSync::class, ], ``` do not implement `__invoke` but use the default `handleEvent` method the `ListenerFactory` will throw an exception. This...

The FakeDispatcher will need a reference to the original dispatcher to dynamically forward non event-dispatching methods

Right now it's possible to attach many listeners two one event. The inverse is also very useful in many situations.

enhancement

Right now it's not possible to create an event listener and bind it to an interface. The dispatcher will flag it as an invalid listener since it's neither a closure...

enhancement

Right now it's only possible to either fake all or some events. But not all except some

enhancement