SoftDeletingTrait::bootSoftDeletingTrait()

static void bootSoftDeletingTrait() Boot the soft deleting trait for a model. Return Value void

MassAssignmentException

MassAssignmentException class MassAssignmentException extends RuntimeException (View source)

MySqlGrammar::compileUnique()

string compileUnique(Blueprint $blueprint, Fluent $command) Compile a unique key command. Parameters Blueprint $blueprint Fluent $command Return Value string

Builder::addBinding()

$this addBinding(mixed $value, string $type = 'where') Add a binding to the query. Parameters mixed $value string $type Return Value $this Exceptions InvalidArgumentException

Model::delete()

bool|null delete() Delete the model from the database. Return Value bool|null Exceptions Exception

SoftDeletes::trashed()

bool trashed() Determine if the model instance has been soft-deleted. Return Value bool

Builder::firstOrCreate()

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

ListFailedCommand::question()

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

SortedMiddleware::mapWithKeys()

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

EventFake::forgetPushed()

void forgetPushed() Forget all of the queued listeners. Return Value void