TestCase::expectsModelEvents()

$this expectsModelEvents(string $model, array|string $events) Specify a list of events that should be fired for the given operation. These events will be mocked, so that handlers will not actually be executed. Parameters string $model array|string $events Return Value $this Exceptions Exception

User::with()

static Builder|Model with(array|string $relations) Begin querying a model with eager loading. Parameters array|string $relations Return Value Builder|Model

RegistersUsers::register()

Response register(Request $request) Handle a registration request for the application. Parameters Request $request Return Value Response

RemindersControllerCommand::setLaravel()

void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void

StatusCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

RoutesNotifications

RoutesNotifications trait RoutesNotifications (View source) Methods void notify(mixed $instance) Send the given notification. mixed routeNotificationFor(string $driver) Get the notification routing information for the given driver.

PolicyMakeCommand::getLaravel()

Application getLaravel() Get the Laravel application instance. Return Value Application

Mailable

Mailable interface Mailable (View source) Methods void send(Mailer $mailer) Send the message using the given mailer. mixed queue(Factory $queue) Queue the given message. mixed later(DateTime|int $delay, Factory $queue) Deliver the queued message after the given delay.

JoinClause::__callStatic()

static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Facade::setFacadeApplication()

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