home
/
zktecojo
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Queue
➕ New
📤 Upload
✎ Editing:
FailConsoleServiceProvider.php
← Back
<?php namespace Illuminate\Queue; use Illuminate\Support\ServiceProvider; use Illuminate\Queue\Console\RetryCommand; use Illuminate\Queue\Console\ListFailedCommand; use Illuminate\Queue\Console\FlushFailedCommand; use Illuminate\Queue\Console\FailedTableCommand; use Illuminate\Queue\Console\ForgetFailedCommand; class FailConsoleServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = true; /** * Register the service provider. * * @return void */ public function register() { $this->app->bindShared('command.queue.failed', function() { return new ListFailedCommand; }); $this->app->bindShared('command.queue.retry', function() { return new RetryCommand; }); $this->app->bindShared('command.queue.forget', function() { return new ForgetFailedCommand; }); $this->app->bindShared('command.queue.flush', function() { return new FlushFailedCommand; }); $this->app->bindShared('command.queue.failed-table', function($app) { return new FailedTableCommand($app['files']); }); $this->commands( 'command.queue.failed', 'command.queue.retry', 'command.queue.forget', 'command.queue.flush', 'command.queue.failed-table' ); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return array( 'command.queue.failed', 'command.queue.retry', 'command.queue.forget', 'command.queue.flush', 'command.queue.failed-table', ); } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel