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

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

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

Collection sent(mixed $notifiable, string $notification, callable|null

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
QueueFake
  • References/PHP/Laravel/Support/Testing/Fakes

QueueFake class QueueFake implements

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

bool hasSent(string $mailable) Determine if the given mailable has been

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

void push(string $event, array $payload = array()) Register an event and

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

bool hasPushed(string $job) Determine if there are any stored jobs for

2025-01-10 15:47:30