AutoloadCommand::info()

void info(string $string) Write a string as information output. Parameters string $string Return Value void

BelongsToMany::findOrNew()

Collection|Model findOrNew(mixed $id, array $columns = array('*')) Find a related model by its primary key or return new instance of the related model. Parameters mixed $id array $columns Return Value Collection|Model

BelongsToMany::find()

Model|Collection|null find(mixed $id, array $columns = array('*')) Find a related model by its primary key. Parameters mixed $id array $columns Return Value Model|Collection|null

ViewPublishCommand::error()

void error(string $string) Write a string as error output. Parameters string $string Return Value void

ComposerScripts::postInstall()

static void postInstall(Event $event) Handle the post-install Composer event. Parameters Event $event Return Value void

ServeCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

RedirectResponse::withHeaders()

$this withHeaders(array $headers) Add an array of headers to the response. Parameters array $headers Return Value $this

Registrar::patch()

void patch(string $uri, Closure|array|string $action) Register a new PATCH route with the router. Parameters string $uri Closure|array|string $action Return Value void

MorphOneOrMany::getParent()

Model getParent() Get the parent model of the relation. Return Value Model

ScheduleRunCommand::argument()

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