Skip to content

Commit 731881d

Browse files
committed
Mention that commands can be defined as services too
1 parent 838f725 commit 731881d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/AppBundle/Command/AddUserCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
* $ php bin/console app:add-user -vv
3434
*
3535
* See http://symfony.com/doc/current/cookbook/console/console_command.html
36+
* For more advanced uses, commands can be defined as services too. See
37+
* https://symfony.com/doc/current/console/commands_as_services.html
3638
*
3739
* @author Javier Eguiluz <[email protected]>
3840
* @author Yonel Ceruto <[email protected]>

src/AppBundle/Command/DeleteUserCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
* the full explanation about Symfony commands.
3232
*
3333
* See http://symfony.com/doc/current/cookbook/console/console_command.html
34+
* For more advanced uses, commands can be defined as services too. See
35+
* https://symfony.com/doc/current/console/commands_as_services.html
3436
*
3537
* @author Oleg Voronkovich <[email protected]>
3638
*/

src/AppBundle/Command/ListUsersCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
* $ php bin/console app:list-users
3030
*
3131
* See http://symfony.com/doc/current/cookbook/console/console_command.html
32+
* For more advanced uses, commands can be defined as services too. See
33+
* https://symfony.com/doc/current/console/commands_as_services.html
3234
*
3335
* @author Javier Eguiluz <[email protected]>
3436
*/

0 commit comments

Comments
 (0)