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::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::channel()

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

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::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::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::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

NotificationMakeCommand

NotificationMakeCommand class NotificationMakeCommand extends GeneratorCommand (View source) Methods void __construct(Filesystem $files) Create a new controller creator command instance. from GeneratorCommand int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console

NotificationMakeCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

NotificationMakeCommand::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array