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
bool touches(string $relation) Determine if the model touches a given relation. Parameters string $relation Return Value bool
Collection newCollection(array $models = array()) Create a new Eloquent Collection instance. Parameters array $models Return Value Collection
bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool
Message send(mixed $notifiable, Notification $notification) Send the given notification. Parameters mixed $notifiable Notification $notification Return Value Message
mixed avg(callable|string|null $callback = null) Get the average value of a given key. Parameters callable|string|null $callback Return Value mixed
Connection getConnection() Get the database connection for the model. Return Value Connection
void __wakeup() When a model is being unserialized, check if it needs to be booted. Return Value void
string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array
bool hasArgument(string|int $name) Determine if the given argument is present. Parameters string|int $name Return Value bool
Page 84 of 996