HasOneOrMany::rawUpdate()

int rawUpdate(array $attributes = array()) Run a raw update against the base query. Parameters array $attributes Return Value int

Builder::withGlobalScope()

$this withGlobalScope(string $identifier, Scope|Closure $scope) Register a new global scope. Parameters string $identifier Scope|Closure $scope Return Value $this

Collection::offsetGet()

mixed offsetGet(mixed $key) Get an item at a given offset. Parameters mixed $key Return Value mixed

Builder::orWhereColumn()

Builder|Builder orWhereColumn(string|array $first, string|null $operator = null, string|null $second = null) Add an "or where" clause comparing two columns to the query. Parameters string|array $first string|null $operator string|null $second Return Value Builder|Builder

Container::forgetInstance()

void forgetInstance(string $abstract) Remove a resolved instance from the instance cache. Parameters string $abstract Return Value void

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

UrlWindow

UrlWindow class UrlWindow (View source) Methods void __construct(LengthAwarePaginator $paginator) Create a new URL window instance. static array make(LengthAwarePaginator $paginator, int $onEachSide = 3) Create a new URL window instance. array get(int $onEachSide = 3) Get the window of URLs to be shown. array getAdjacentUrlRange(int $onEachSide) Get the page range for the current page window. array getStart() Get the starting URLs of a pagination slider. array get

Queue

Queue class Queue (View source) Methods mixed pushOn(string $queue, string $job, mixed $data = '') Push a new job onto the queue. mixed laterOn(string $queue, DateTime|int $delay, string $job, mixed $data = '') Push a new job onto the queue after a delay. mixed bulk(array $jobs, mixed $data = '', string $queue = null) Push an array of jobs onto the queue. void setContainer(Container $container) Set the IoC container instance.

Writer::listen()

void listen(Closure $callback) Register a new callback handler for when a log event is triggered. Parameters Closure $callback Return Value void Exceptions RuntimeException

DatabaseNotification::with()

static Builder|Model with(array|string $relations) Begin querying a model with eager loading. Parameters array|string $relations Return Value Builder|Model