Notification::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

Notification::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Notification::spy()

static void spy() Convert the facade into a Mockery spy. Return Value void

Notification::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Notification::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed Exceptions RuntimeException

Notification::__sleep()

array __sleep() Prepare the instance for serialization. Return Value array

Notification::__wakeup()

void __wakeup() Restore the model after serialization. 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.

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

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 =