QueueFake::connection()
  • References/PHP/Laravel/Support/Testing/Fakes

Queue connection($value = null)

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

bool hasFired(string $event) Determine if the given event has been fired

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

array getRecipients() Get the recipient information for the mailable.

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

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

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

void __construct() Create a new instance.

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

$this to(mixed $users) Set the recipients of the message.

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

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

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

void assertNotPushed(string $job, callable|null $callback = null) Determine

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

bool hasDispatched(string $command) Determine if there are any stored commands

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

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

2025-01-10 15:47:30