Model

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.

HasOneOrMany::firstOrNew()

Model firstOrNew(array $attributes) Get the first related model record matching the attributes or instantiate it. Parameters array $attributes Return Value Model

ClearCompiledCommand::choice()

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

MorphOneOrMany::getQuery()

Builder getQuery() Get the underlying query for the relation. Return Value Builder

FilesystemManager::getDefaultCloudDriver()

string getDefaultCloudDriver() Get the default cloud driver name. Return Value string

MiddlewareMakeCommand::__construct()

void __construct(Filesystem $files) Create a new controller creator command instance. Parameters Filesystem $files Return Value void

DownCommand::line()

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

MorphPivot::getKeyName()

string getKeyName() Get the primary key for the model. Return Value string

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

Database

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