EventFake
class EventFake implements Dispatcher (View source)
Methods
void assertFired(string $event, callable|null $callback = null) Assert if an event was fired based on a truth-test callback. void assertNotFired(string $event, callable|null $callback = null) Determine if an event was fired based on a truth-test callback. Collection fired(string $event, callable|null $callback = null) Get all of the events matching a truth-test callback. bool hasFired(string $event) Deter