Skip to content

Commit a1568cb

Browse files
javiereguiluzxabbuh
authored andcommitted
Rename "console tasks" to "console commands"
1 parent 7dd450e commit a1568cb

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

console/input.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Next, use this in the command to print the message multiple times::
134134
$output->writeln($text);
135135
}
136136

137-
Now, when you run the task, you can optionally specify a ``--iterations``
137+
Now, when you run the command, you can optionally specify a ``--iterations``
138138
flag:
139139

140140
.. code-block:: terminal

doctrine.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ in your application. To do this, run:
473473
your entities) with how it *actually* looks, and executes the SQL statements
474474
needed to *update* the database schema to where it should be. In other
475475
words, if you add a new property with mapping metadata to ``Product``
476-
and run this task, it will execute the "ALTER TABLE" statement needed
476+
and run this command, it will execute the "ALTER TABLE" statement needed
477477
to add that new column to the existing ``product`` table.
478478

479479
An even better way to take advantage of this functionality is via

doctrine/associations.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ the class for you.
1818
--entity="AppBundle:Category" \
1919
--fields="name:string(255)"
2020
21-
This task generates the ``Category`` entity for you, with an ``id`` field,
21+
This command generates the ``Category`` entity for you, with an ``id`` field,
2222
a ``name`` field and the associated getter and setter functions.
2323

2424
Relationship Mapping Metadata

doctrine/console.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ command:
1616
A list of available commands will print out. You can find out more information
1717
about any of these commands (or any Symfony command) by running the ``help``
1818
command. For example, to get details about the ``doctrine:database:create``
19-
task, run:
19+
command, run:
2020

2121
.. code-block:: terminal
2222
2323
$ php app/console help doctrine:database:create
2424
25-
Some notable or interesting tasks include:
25+
Some notable or interesting commands include:
2626

2727
* ``doctrine:ensure-production-settings`` - checks to see if the current
2828
environment is configured efficiently for production. This should always

reference/dic_tags.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ kernel.cache_warmer
489489
process
490490

491491
Cache warming occurs whenever you run the ``cache:warmup`` or ``cache:clear``
492-
task (unless you pass ``--no-warmup`` to ``cache:clear``). It is also run
492+
command (unless you pass ``--no-warmup`` to ``cache:clear``). It is also run
493493
when handling the request, if it wasn't done by one of the commands yet.
494494
The purpose is to initialize any cache that will be needed by the application
495495
and prevent the first user from any significant "cache hit" where the cache

security/acl.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ First, you need to configure the connection the ACL system is supposed to use:
9191
domain objects. You can use whatever mapper you like for your objects, be it
9292
Doctrine ORM, MongoDB ODM, Propel, raw SQL, etc. The choice is yours.
9393

94-
After the connection is configured, you have to import the database structure.
95-
Fortunately, there is a task for this. Simply run the following command:
94+
After the connection is configured, you have to import the database structure
95+
running the following command:
9696

9797
.. code-block:: terminal
9898

testing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ Injection Container::
464464
$container = $client->getContainer();
465465

466466
For a list of services available in your application, use the ``debug:container``
467-
console task.
467+
command.
468468

469469
.. versionadded:: 2.6
470470
Prior to Symfony 2.6, this command was called ``container:debug``.

0 commit comments

Comments
 (0)