QueueServiceProvider
class QueueServiceProvider extends ServiceProvider (View source)
Properties
protected Application | $app | The application instance. | from ServiceProvider |
protected bool | $defer | Indicates if loading of the provider is deferred. |
Methods
void | __construct(Application $app) Create a new service provider instance. | from ServiceProvider |
void | boot() Bootstrap the application events. | from ServiceProvider |
void | register() Register the service provider. | |
void | package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. | from ServiceProvider |
string | guessPackagePath() Guess the package path for the provider. | from ServiceProvider |
string | getPackageNamespace(string $package, string $namespace) Determine the namespace for a package. | from ServiceProvider |
void | commands(array $commands) Register the package's custom Artisan commands. | from ServiceProvider |
string | getAppViewPath(string $package) Get the application package view path. | from ServiceProvider |
array | provides() Get the services provided by the provider. | |
array | when() Get the events that trigger this service provider to register. | from ServiceProvider |
bool | isDeferred() Determine if the provider is deferred. | from ServiceProvider |
void | registerManager() Register the queue manager. | |
void | registerWorker() Register the queue worker. | |
void | registerWorkCommand() Register the queue worker console command. | |
void | registerListener() Register the queue listener. | |
void | registerListenCommand() Register the queue listener console command. | |
void | registerRestartCommand() Register the queue restart console command. | |
void | registerSubscriber() Register the push queue subscribe command. | |
void | registerConnectors(QueueManager $manager) Register the connectors on the queue manager. | |
void | registerSyncConnector(QueueManager $manager) Register the Sync queue connector. | |
void | registerBeanstalkdConnector(QueueManager $manager) Register the Beanstalkd queue connector. | |
void | registerRedisConnector(QueueManager $manager) Register the Redis queue connector. | |
void | registerSqsConnector(QueueManager $manager) Register the Amazon SQS queue connector. | |
void | registerIronConnector(QueueManager $manager) Register the IronMQ queue connector. | |
void | registerIronRequestBinder() Register the request rebinding event for the Iron queue. | |
void | registerFailedJobServices() Register the failed job services. | |
void | registerQueueClosure() Register the Illuminate queued closure job. |
Details
void __construct(Application $app)
Create a new service provider instance.
void boot()
Bootstrap the application events.
void register()
Register the service provider.
void package(string $package, string $namespace = null, string $path = null)
Register the package's component namespaces.
string guessPackagePath()
Guess the package path for the provider.
protected string getPackageNamespace(string $package, string $namespace)
Determine the namespace for a package.
void commands(array $commands)
Register the package's custom Artisan commands.
protected string getAppViewPath(string $package)
Get the application package view path.
array provides()
Get the services provided by the provider.
array when()
Get the events that trigger this service provider to register.
bool isDeferred()
Determine if the provider is deferred.
protected void registerManager()
Register the queue manager.
protected void registerWorker()
Register the queue worker.
protected void registerWorkCommand()
Register the queue worker console command.
protected void registerListener()
Register the queue listener.
protected void registerListenCommand()
Register the queue listener console command.
void registerRestartCommand()
Register the queue restart console command.
protected void registerSubscriber()
Register the push queue subscribe command.
void registerConnectors(QueueManager $manager)
Register the connectors on the queue manager.
protected void registerSyncConnector(QueueManager $manager)
Register the Sync queue connector.
protected void registerBeanstalkdConnector(QueueManager $manager)
Register the Beanstalkd queue connector.
protected void registerRedisConnector(QueueManager $manager)
Register the Redis queue connector.
protected void registerSqsConnector(QueueManager $manager)
Register the Amazon SQS queue connector.
protected void registerIronConnector(QueueManager $manager)
Register the IronMQ queue connector.
protected void registerIronRequestBinder()
Register the request rebinding event for the Iron queue.
protected void registerFailedJobServices()
Register the failed job services.
protected void registerQueueClosure()
Register the Illuminate queued closure job.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/4.2/Illuminate/Queue/QueueServiceProvider.html