| 1 | <?php |
||
| 10 | abstract class QueueServiceProvider extends AbstractServiceProvider |
||
| 11 | { |
||
| 12 | protected $provides = [ |
||
| 13 | Queue::class, |
||
| 14 | ]; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Queue adapter. |
||
| 18 | * |
||
| 19 | * @return Adapter |
||
| 20 | */ |
||
| 21 | abstract public function adapter(): Adapter; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Use the register method to register items with the container via the |
||
| 25 | * protected $this->container property or the `getContainer` method |
||
| 26 | * from the ContainerAwareTrait. |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function register(): void |
||
| 34 | } |
||
| 35 |