Skip to content

Commit 7e49d2b

Browse files
committed
Update queues.md
1 parent 80308c3 commit 7e49d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To push a new job onto the queue, use the `Queue::push` method:
4545

4646
> **Note:** In this example, we are using the `Queue` facade directly; however, typically you would dispatch queued command via the [Command Bus](/docs/5.0/bus). We will continue to use the `Queue` facade throughout this page; however, familiarize with the command bus as well, since it is used to dispatch both queued and synchronous commands for your application.
4747
48-
By default, the `make:command` Artisan command generates a "self-handling" command, meaning a `handle` method is added to the command itself. This method will be called when the job is executed by the queue. You may type-hint any dependencies you need on the `handle` method and the [IoC container](/docs/5.0/container) will automatically inject them:
48+
By default, the `make:command` Artisan command generates a "self-handling" command, meaning a `handle` method is added to the command itself. This method will be called when the job is executed by the queue. You may type-hint any dependencies you need on the `handle` method and the [service container](/docs/5.0/container) will automatically inject them:
4949

5050
public function handle(UserRepository $users)
5151
{

0 commit comments

Comments
 (0)