SortedMiddleware::sortBy()

Collection sortBy(callable|string $callback, int $options = SORT_REGULAR, bool $descending = false) Sort the collection using the given callback. Parameters callable|string $callback int $options bool $descending Return Value Collection

ClearCompiledCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

Container::forgetInstance()

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

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.

Router::prepareResponse()

Response prepareResponse(Request $request, mixed $response) Create a response instance from the given value. Parameters Request $request mixed $response Return Value Response

QueueServiceProvider::registerConnectors()

void registerConnectors(QueueManager $manager) Register the connectors on the queue manager. Parameters QueueManager $manager Return Value void

MakesHttpRequests::seeIsSelected()

$this seeIsSelected(string $selector, string $value, bool $negate = false) Assert that the expected value is selected. Parameters string $selector string $value bool $negate Return Value $this

DatabaseNotification::morphTo()

MorphTo morphTo(string $name = null, string $type = null, string $id = null) Define a polymorphic, inverse one-to-one or many relationship. Parameters string $name string $type string $id Return Value MorphTo

MySqlBuilder::create()

Blueprint create(string $table, Closure $callback) Create a new table on the schema. Parameters string $table Closure $callback Return Value Blueprint

DatabaseNotification::addHidden()

void addHidden(array|string|null $attributes = null) Add hidden attributes for the model. Parameters array|string|null $attributes Return Value void