BusFake
class BusFake implements Dispatcher (View source)
Methods
void assertDispatched(string $command, callable|null $callback = null) Assert if a job was dispatched based on a truth-test callback. void assertNotDispatched(string $command, callable|null $callback = null) Determine if a job was dispatched based on a truth-test callback. Collection dispatched(string $command, callable|null $callback = null) Get all of the jobs matching a truth-test callback. bool hasDispatc