static void bootSoftDeletingTrait() Boot the soft deleting trait for a model. Return Value void
MassAssignmentException class MassAssignmentException extends RuntimeException (View source)
string compileUnique(Blueprint $blueprint, Fluent $command) Compile a unique key command. Parameters Blueprint $blueprint Fluent $command Return Value string
$this addBinding(mixed $value, string $type = 'where') Add a binding to the query. Parameters mixed $value string $type Return Value $this Exceptions InvalidArgumentException
bool|null delete() Delete the model from the database. Return Value bool|null Exceptions Exception
bool trashed() Determine if the model instance has been soft-deleted. Return Value bool
Model firstOrCreate(array $attributes, array $values = array()) Get the first record matching the attributes or create it. Parameters array $attributes array $values Return Value Model
void question(string $string, null|int|string $verbosity = null) Write a string as question output. Parameters string $string null|int|string $verbosity Return Value void
Collection mapWithKeys(callable $callback) Run an associative map over each of the items. The callback should return an associative array with a single key/value pair. Parameters callable $callback Return Value Collection
void forgetPushed() Forget all of the queued listeners. Return Value void
Page 78 of 996