NotificationFake::sent()

Collection sent(mixed $notifiable, string $notification, callable|null $callback = null) Get all of the notifications matching a truth-test callback. Parameters mixed $notifiable string $notification callable|null $callback Return Value Collection

NotificationFake::sendNow()

void sendNow(Collection|array|mixed $notifiables, mixed $notification) Send the given notification immediately. Parameters Collection|array|mixed $notifiables mixed $notification Return Value void

NotificationFake::send()

void send(Collection|array|mixed $notifiables, mixed $notification) Send the given notification to the given notifiable entities. Parameters Collection|array|mixed $notifiables mixed $notification Return Value void

NotificationFake::hasSent()

bool hasSent(mixed $notifiable, string $notification) Determine if there are more notifications left to inspect. Parameters mixed $notifiable string $notification Return Value bool

NotificationFake::channel()

mixed channel(string|null $name = null) Get a channel instance by name. Parameters string|null $name Return Value mixed

NotificationFake::assertSentTo()

void assertSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Assert if a notification was sent based on a truth-test callback. Parameters mixed $notifiable string $notification callable|null $callback Return Value void

NotificationFake::assertNotSentTo()

void assertNotSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Determine if a notification was sent based on a truth-test callback. Parameters mixed $notifiable string $notification callable|null $callback Return Value void

NotificationFake

NotificationFake class NotificationFake implements Factory (View source) Methods void assertSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Assert if a notification was sent based on a truth-test callback. void assertNotSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Determine if a notification was sent based on a truth-test callback. Collection sent(mixed $notifiable, string $notification, callable|null $callback =

NotificationFailed::__construct()

void __construct(mixed $notifiable, Notification $notification, string $channel, array $data = array()) Create a new event instance. Parameters mixed $notifiable Notification $notification string $channel array $data Return Value void

NotificationFailed

NotificationFailed class NotificationFailed (View source) Properties mixed $notifiable The notifiable entity who received the notification. Notification $notification The notification instance. string $channel The channel name. array $data The data needed to process this failure.