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

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

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

Collection fired(string $event, callable|null $callback = null)

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
MailFake::bcc()
  • References/PHP/Laravel/Support/Testing/Fakes

MailableMailer bcc(mixed $users) Begin the process of mailing a mailable

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

void listen(string|array $events, mixed $listener, int $priority) Register

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

mixed push(string $job, mixed $data = '', string $queue = null) Push a

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

Collection sent(string $mailable, callable|null $callback = null)

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

int raw(string $text, Closure|string $callback)

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

void forgetPushed() Forget all of the queued listeners.

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

array|null fire(string|object $event, mixed $payload = array(), bool $halt = false)

2025-01-10 15:47:30