Builder::where()

$this where(string|array|Closure $column, string $operator = null, mixed $value = null, string $boolean = 'and') Add a basic where clause to the query. Parameters string|array|Closure $column string $operator mixed $value string $boolean Return Value $this

Builder::whereDoesntHave()

Builder|Builder whereDoesntHave(string $relation, Closure $callback = null) Add a relationship count / exists condition to the query with where clauses. Parameters string $relation Closure $callback Return Value Builder|Builder

Model::addGlobalScope()

static mixed addGlobalScope(Scope|Closure|string $scope, Closure $implementation = null) Register a new global scope on the model. Parameters Scope|Closure|string $scope Closure $implementation Return Value mixed Exceptions InvalidArgumentException

Pivot::guard()

$this guard(array $guarded) Set the guarded attributes for the model. Parameters array $guarded Return Value $this

Collection::toBase()

Collection toBase() Get a base Support collection instance from this collection. Return Value Collection

Dispatcher

Dispatcher interface Dispatcher (View source) Methods void listen(string|array $events, mixed $listener, int $priority) Register an event listener with the dispatcher. bool hasListeners(string $eventName) Determine if a given event has listeners. void push(string $event, array $payload = array()) Register an event and payload to be fired later. void subscribe(object|string $subscriber) Register an event subscriber with the dispatcher. mixed until(string $event, array $

SQLiteGrammar::parameterize()

string parameterize(array $values) Create query parameter place-holders for an array. Parameters array $values Return Value string

SqsQueue::pushOn()

mixed pushOn(string $queue, string $job, mixed $data = '') Push a new job onto the queue. Parameters string $queue string $job mixed $data Return Value mixed

BelongsToMany::syncWithoutDetaching()

array syncWithoutDetaching(Collection|array $ids) Sync the intermediate tables with a list of IDs without detaching. Parameters Collection|array $ids Return Value array

MorphToMany::save()

Model save(Model $model, array $joining = array(), bool $touch = true) Save a new model and attach it to the parent model. Parameters Model $model array $joining bool $touch Return Value Model