Model::belongsTo()

BelongsTo belongsTo(string $related, string $foreignKey = null, string $otherKey = null, string $relation = null) Define an inverse one-to-one or many relationship. Parameters string $related string $foreignKey string $otherKey string $relation Return Value BelongsTo

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

ClearResetsCommand::setLaravel()

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

Logout

Logout class Logout (View source) Traits SerializesModels

Connection::beginTransaction()

void beginTransaction() Start a new database transaction. Return Value void Exceptions Exception

ClearResetsCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

Validator::after()

$this after(callable|string $callback) After an after validation callback. Parameters callable|string $callback Return Value $this

NotificationMakeCommand::askWithCompletion()

string askWithCompletion(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

RouteCacheCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

SessionGuard::viaRemember()

bool viaRemember() Determine if the user was authenticated via "remember me" cookie. Return Value bool