MailFake
  • References/PHP/Laravel/Support/Testing/Fakes

MailFake class MailFake implements

2025-01-10 15:47:30
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
BusFake::dispatchNow()
  • References/PHP/Laravel/Support/Testing/Fakes

mixed dispatchNow(mixed $command, mixed $handler = null) Dispatch a command

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

mixed sendNow(Mailable $mailable)

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

Collection fired(string $event, 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
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
BusFake::dispatch()
  • References/PHP/Laravel/Support/Testing/Fakes

mixed dispatch(mixed $command) Dispatch a command to its appropriate handler

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