Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rename "console tasks" to "console commands"#7346

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes fromall commits
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
2 changes: 1 addition & 1 deletionconsole/input.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -134,7 +134,7 @@ Next, use this in the command to print the message multiple times::
$output->writeln($text);
}

Now, when you run thetask, you can optionally specify a ``--iterations``
Now, when you run thecommand, you can optionally specify a ``--iterations``
flag:

.. code-block:: terminal
Expand Down
2 changes: 1 addition & 1 deletiondoctrine.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -473,7 +473,7 @@ in your application. To do this, run:
your entities) with how it *actually* looks, and executes the SQL statements
needed to *update* the database schema to where it should be. In other
words, if you add a new property with mapping metadata to ``Product``
and run thistask, it will execute the "ALTER TABLE" statement needed
and run thiscommand, it will execute the "ALTER TABLE" statement needed
to add that new column to the existing ``product`` table.

An even better way to take advantage of this functionality is via
Expand Down
2 changes: 1 addition & 1 deletiondoctrine/associations.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -18,7 +18,7 @@ the class for you.
--entity="AppBundle:Category" \
--fields="name:string(255)"

Thistask generates the ``Category`` entity for you, with an ``id`` field,
Thiscommand generates the ``Category`` entity for you, with an ``id`` field,
a ``name`` field and the associated getter and setter functions.

Relationship Mapping Metadata
Expand Down
4 changes: 2 additions & 2 deletionsdoctrine/console.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,13 +16,13 @@ command:
A list of available commands will print out. You can find out more information
about any of these commands (or any Symfony command) by running the ``help``
command. For example, to get details about the ``doctrine:database:create``
task, run:
command, run:

.. code-block:: terminal

$ php app/console help doctrine:database:create

Some notable or interestingtasks include:
Some notable or interestingcommands include:

* ``doctrine:ensure-production-settings`` - checks to see if the current
environment is configured efficiently for production. This should always
Expand Down
2 changes: 1 addition & 1 deletionreference/dic_tags.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -489,7 +489,7 @@ kernel.cache_warmer
process

Cache warming occurs whenever you run the ``cache:warmup`` or ``cache:clear``
task (unless you pass ``--no-warmup`` to ``cache:clear``). It is also run
command (unless you pass ``--no-warmup`` to ``cache:clear``). It is also run
when handling the request, if it wasn't done by one of the commands yet.
The purpose is to initialize any cache that will be needed by the application
and prevent the first user from any significant "cache hit" where the cache
Expand Down
4 changes: 2 additions & 2 deletionssecurity/acl.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,8 +91,8 @@ First, you need to configure the connection the ACL system is supposed to use:
domain objects. You can use whatever mapper you like for your objects, be it
Doctrine ORM, MongoDB ODM, Propel, raw SQL, etc. The choice is yours.

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

.. code-block:: terminal

Expand Down
2 changes: 1 addition & 1 deletiontesting.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -464,7 +464,7 @@ Injection Container::
$container = $client->getContainer();

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

..versionadded::2.6
Prior to Symfony 2.6, this command was called ``container:debug``.
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp