8000 Fix the explanation about registering commands by javiereguiluz · Pull Request #9419 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fix the explanation about registering commands #9419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor reword
  • Loading branch information
javiereguiluz committed Mar 9, 2018
commit f2a07c37990b1f619f7e02cd859bb30f93907536
8 changes: 4 additions & 4 deletions console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ Registering the Command
-----------------------

Symfony commands must be registered before using them. In order to be registered,
a command must:
a command must bw:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be


#. Be stored in a directory called ``Command/``;
#. Be defined in a class whose name ends with ``Command``;
#. Be defined in a class that extends from
#. Stored in a directory called ``Command/``;
#. Defined in a class whose name ends with ``Command``;
#. Defined in a class that extends from
:class:`Symfony\\Component\\Console\\Command\\Command`.

Executing the Command
Expand Down
0