MessageBag::toJson()

string toJson(int $options) Convert the object to its JSON representation. Parameters int $options Return Value string

Collection::offsetGet()

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

JoinClause::take()

Builder|Builder take(int $value) Alias to set the "limit" value of the query. Parameters int $value Return Value Builder|Builder

Validator::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

BladeCompiler::isExpired()

bool isExpired(string $path) Determine if the view at the given path is expired. Parameters string $path Return Value bool

Validator

Validator interface Validator implements MessageProvider (View source) Methods MessageBag getMessageBag() Get the messages for the instance. from MessageProvider bool fails() Determine if the data fails the validation rules. array failed() Get the failed validation rules. void sometimes(string $attribute, string|array $rules, callable $callback) Add conditions to a given field based on a Closure. $this after(callable|string $callback) After an after validation callback.

SyncJob

SyncJob class SyncJob extends Job implements Job (View source) Methods int attempts() Get the number of times the job has been attempted. string getRawBody() Get the raw body string for the job. void fire() Fire the job. from Job void delete() Delete the job from the queue. from Job bool isDeleted() Determine if the job has been deleted. from Job void release(int $delay) Release the job back into the queue. bool isReleased() Determine if the job was released bac

User::all()

static Collection|Model[] all(array|mixed $columns = array('*')) Get all of the models from the database. Parameters array|mixed $columns Return Value Collection|Model[]

Job

Job interface Job (View source) Methods void fire() Fire the job. void delete() Delete the job from the queue. bool isDeleted() Determine if the job has been deleted. void release(int $delay) Release the job back into the queue. bool isDeletedOrReleased() Determine if the job has been deleted or released. int attempts() Get the number of times the job has been attempted. string getName() Get the name of the queued job class. string resolveName() Get the

ProviderMakeCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string