sekolah_adiwiyata/vendor/laravel/framework/src/Illuminate/Queue
ilhamwara 37bb8325bf install laravel 10 2025-02-02 12:04:35 +07:00
..
Attributes install laravel 10 2025-02-02 12:04:35 +07:00
Capsule install laravel 10 2025-02-02 12:04:35 +07:00
Connectors install laravel 10 2025-02-02 12:04:35 +07:00
Console install laravel 10 2025-02-02 12:04:35 +07:00
Events install laravel 10 2025-02-02 12:04:35 +07:00
Failed install laravel 10 2025-02-02 12:04:35 +07:00
Jobs install laravel 10 2025-02-02 12:04:35 +07:00
Middleware install laravel 10 2025-02-02 12:04:35 +07:00
BeanstalkdQueue.php install laravel 10 2025-02-02 12:04:35 +07:00
CallQueuedClosure.php install laravel 10 2025-02-02 12:04:35 +07:00
CallQueuedHandler.php install laravel 10 2025-02-02 12:04:35 +07:00
DatabaseQueue.php install laravel 10 2025-02-02 12:04:35 +07:00
InteractsWithQueue.php install laravel 10 2025-02-02 12:04:35 +07:00
InvalidPayloadException.php install laravel 10 2025-02-02 12:04:35 +07:00
LICENSE.md install laravel 10 2025-02-02 12:04:35 +07:00
Listener.php install laravel 10 2025-02-02 12:04:35 +07:00
ListenerOptions.php install laravel 10 2025-02-02 12:04:35 +07:00
LuaScripts.php install laravel 10 2025-02-02 12:04:35 +07:00
ManuallyFailedException.php install laravel 10 2025-02-02 12:04:35 +07:00
MaxAttemptsExceededException.php install laravel 10 2025-02-02 12:04:35 +07:00
NullQueue.php install laravel 10 2025-02-02 12:04:35 +07:00
Queue.php install laravel 10 2025-02-02 12:04:35 +07:00
QueueManager.php install laravel 10 2025-02-02 12:04:35 +07:00
QueueServiceProvider.php install laravel 10 2025-02-02 12:04:35 +07:00
README.md install laravel 10 2025-02-02 12:04:35 +07:00
RedisQueue.php install laravel 10 2025-02-02 12:04:35 +07:00
SerializesAndRestoresModelIdentifiers.php install laravel 10 2025-02-02 12:04:35 +07:00
SerializesModels.php install laravel 10 2025-02-02 12:04:35 +07:00
SqsQueue.php install laravel 10 2025-02-02 12:04:35 +07:00
SyncQueue.php install laravel 10 2025-02-02 12:04:35 +07:00
TimeoutExceededException.php install laravel 10 2025-02-02 12:04:35 +07:00
Worker.php install laravel 10 2025-02-02 12:04:35 +07:00
WorkerOptions.php install laravel 10 2025-02-02 12:04:35 +07:00
composer.json install laravel 10 2025-02-02 12:04:35 +07:00

README.md

Illuminate Queue

The Laravel Queue component provides a unified API across a variety of different queue services. Queues allow you to defer the processing of a time consuming task, such as sending an e-mail, until a later time, thus drastically speeding up the web requests to your application.

Usage Instructions

First, create a new Queue Capsule manager instance. Similar to the "Capsule" provided for the Eloquent ORM, the queue Capsule aims to make configuring the library for usage outside of the Laravel framework as easy as possible.

use Illuminate\Queue\Capsule\Manager as Queue;

$queue = new Queue;

$queue->addConnection([
    'driver' => 'beanstalkd',
    'host' => 'localhost',
    'queue' => 'default',
]);

// Make this Capsule instance available globally via static methods... (optional)
$queue->setAsGlobal();

Once the Capsule instance has been registered. You may use it like so:

// As an instance...
$queue->push('SendEmail', ['message' => $message]);

// If setAsGlobal has been called...
Queue::push('SendEmail', ['message' => $message]);

For further documentation on using the queue, consult the Laravel framework documentation.