bool isClean(array|string|null $attributes = null) Determine if the model or given attribute(s) have remained the same. Parameters array|string|null $attributes Return Value bool
string compileDropIndex(Blueprint $blueprint, Fluent $command) Compile a drop index command. Parameters Blueprint $blueprint Fluent $command Return Value string
bool touch() Update the model's update timestamp. Return Value bool
static Builder query() Begin querying the model. Return Value Builder
array allFiles(string $directory, bool $hidden = false) Get all of the files from the given directory (recursive). Parameters string $directory bool $hidden Return Value array
string anticipate(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
HasOne hasOne(string $related, string $foreignKey = null, string $localKey = null) Define a one-to-one relationship. Parameters string $related string $foreignKey string $localKey Return Value HasOne
void touch() Touch all of the related models for the relationship. Return Value void
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 supportsSavepoints() Determine if the grammar supports savepoints. Return Value bool
Page 134 of 996