Model class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializable, QueueableEntity, UrlRoutable (View source) Constants CREATED_AT The name of the "created at" column. UPDATED_AT The name of the "updated at" column.
Model firstOrNew(array $attributes) Get the first related model record matching the attributes or instantiate it. Parameters array $attributes Return Value Model
string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string
Builder getQuery() Get the underlying query for the relation. Return Value Builder
string getDefaultCloudDriver() Get the default cloud driver name. Return Value string
void __construct(Filesystem $files) Create a new controller creator command instance. Parameters Filesystem $files Return Value void
void line(string $string, string $style = null, null|int|string $verbosity = null) Write a string as standard output. Parameters string $string string $style null|int|string $verbosity Return Value void
string getKeyName() Get the primary key for the model. Return Value string
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
Illuminate\Database Namespaces Illuminate\Database\CapsuleIlluminate\Database\ConnectorsIlluminate\Database\ConsoleIlluminate\Database\EloquentIlluminate\Database\MigrationsIlluminate\Database\QueryIlluminate\Database\Schema Classes Connection ConnectionResolver DatabaseManager DatabaseServiceProvider Grammar MigrationServiceProvider MySqlConnection PostgresConnection QueryException SQLiteConnection SeedServiceProvider Seeder SqlServerConnection
Page 928 of 996