void info(string $string) Write a string as information output. Parameters string $string Return Value void
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
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
void error(string $string) Write a string as error output. Parameters string $string Return Value void
static void postInstall(Event $event) Handle the post-install Composer event. Parameters Event $event Return Value void
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
$this withHeaders(array $headers) Add an array of headers to the response. Parameters array $headers Return Value $this
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
Model getParent() Get the parent model of the relation. Return Value Model
string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array
Page 956 of 996