BusFake::pipeThrough()
  • References/PHP/Laravel/Support/Testing/Fakes

$this pipeThrough(array $pipes) Set the pipes commands should be piped

2025-01-10 15:47:30
EventFake::assertNotFired()
  • References/PHP/Laravel/Support/Testing/Fakes

void assertNotFired(string $event, callable|null $callback = null) Determine

2025-01-10 15:47:30
EventFake::hasListeners()
  • References/PHP/Laravel/Support/Testing/Fakes

bool hasListeners(string $eventName) Determine if a given event has listeners

2025-01-10 15:47:30
QueueFake::pushOn()
  • References/PHP/Laravel/Support/Testing/Fakes

mixed pushOn(string $queue, string $job, mixed $data = '') Push a new job

2025-01-10 15:47:30
EventFake::subscribe()
  • References/PHP/Laravel/Support/Testing/Fakes

void subscribe(object|string $subscriber) Register an event subscriber

2025-01-10 15:47:30
QueueFake::laterOn()
  • References/PHP/Laravel/Support/Testing/Fakes

mixed laterOn(string $queue, DateTime|int $delay, string $job, mixed $data = '')

2025-01-10 15:47:30
MailableFake::sendNow()
  • References/PHP/Laravel/Support/Testing/Fakes

mixed sendNow(Mailable $mailable)

2025-01-10 15:47:30
EventFake::until()
  • References/PHP/Laravel/Support/Testing/Fakes

mixed until(string $event, array $payload = array()) Fire an event until

2025-01-10 15:47:30
NotificationFake::assertNotSentTo()
  • References/PHP/Laravel/Support/Testing/Fakes

void assertNotSentTo(mixed $notifiable, string $notification, callable|null $callback = null)

2025-01-10 15:47:30
BusFake::assertDispatched()
  • References/PHP/Laravel/Support/Testing/Fakes

void assertDispatched(string $command, callable|null $callback = null) Assert

2025-01-10 15:47:30