static void currentPageResolver(Closure $resolver) Set the current page resolver callback. Parameters Closure $resolver Return Value void
string toJson(int $options) Get the collection of items as JSON. Parameters int $options Return Value string
$this load(array|string $relations) Eager load relations on the model. Parameters array|string $relations Return Value $this
static Factory viewFactory() Get an instance of the view factory from the resolver. Return Value Factory
mixed push(string $job, mixed $data = '', string $queue = null) Push a new job onto the queue. Parameters string $job mixed $data string $queue Return Value mixed
Collection split(int $numberOfGroups) Split a collection into a certain number of groups. Parameters int $numberOfGroups Return Value Collection
Fluent mediumIncrements(string $column) Create a new auto-incrementing medium integer (3-byte) column on the table. Parameters string $column Return Value Fluent
Collection unique(string|callable|null $key = null, bool $strict = false) Return only unique items from the collection array. Parameters string|callable|null $key bool $strict Return Value Collection
static void currentPathResolver(Closure $resolver) Set the current request path resolver callback. Parameters Closure $resolver Return Value void
$this pingBefore(string $url) Register a callback to ping a given URL before the job runs. Parameters string $url Return Value $this
Page 212 of 996