Skip to content

Commit bea4a0c

Browse files
committed
app/console -> bin/console
1 parent af97ce1 commit bea4a0c

22 files changed

+55
-55
lines changed

cookbook/assetic/asset_management.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ each time you deploy), you should run the following command:
500500

501501
.. code-block:: bash
502502
503-
$ php app/console assetic:dump --env=prod --no-debug
503+
$ php bin/console assetic:dump --env=prod --no-debug
504504
505505
This will physically generate and write each file that you need (e.g. ``/js/abcd123.js``).
506506
If you update any of your assets, you'll need to run this again to regenerate
@@ -542,7 +542,7 @@ need to dump them manually. To do so, run the following command:
542542

543543
.. code-block:: bash
544544
545-
$ php app/console assetic:dump
545+
$ php bin/console assetic:dump
546546
547547
This physically writes all of the asset files you need for your ``dev``
548548
environment. The big disadvantage is that you need to run this each time
@@ -551,7 +551,7 @@ assets will be regenerated automatically *as they change*:
551551

552552
.. code-block:: bash
553553
554-
$ php app/console assetic:watch
554+
$ php bin/console assetic:watch
555555
556556
The ``assetic:watch`` command was introduced in AsseticBundle 2.4. In prior
557557
versions, you had to use the ``--watch`` option of the ``assetic:dump``

cookbook/bundles/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ via the ``config:dump-reference`` command:
108108

109109
.. code-block:: bash
110110
111-
$ app/console config:dump-reference AsseticBundle
111+
$ bin/console config:dump-reference AsseticBundle
112112
113113
Instead of the full bundle name, you can also pass the short name used as the root
114114
of the bundle's configuration:
115115

116116
.. code-block:: bash
117117
118-
$ app/console config:dump-reference assetic
118+
$ bin/console config:dump-reference assetic
119119
120120
The output will look like this:
121121

cookbook/configuration/apache_router.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Now generate the mod_rewrite rules:
9898

9999
.. code-block:: bash
100100
101-
$ php app/console router:dump-apache -e=prod --no-debug
101+
$ php bin/console router:dump-apache -e=prod --no-debug
102102
103103
Which should roughly output the following:
104104

cookbook/configuration/environments.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,13 @@ behavior:
221221
.. code-block:: bash
222222
223223
# 'dev' environment and debug enabled
224-
$ php app/console command_name
224+
$ php bin/console command_name
225225
226226
# 'prod' environment (debug is always disabled for 'prod')
227-
$ php app/console command_name --env=prod
227+
$ php bin/console command_name --env=prod
228228
229229
# 'test' environment and debug disabled
230-
$ php app/console command_name --env=test --no-debug
230+
$ php bin/console command_name --env=test --no-debug
231231
232232
In addition to the ``--env`` and ``--debug`` options, the behavior of Symfony
233233
commands can also be controlled with environment variables. The Symfony console

cookbook/configuration/front_controllers_and_kernel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ as the default one.
7575
access. For example, you don't want to make a debugging environment
7676
available to arbitrary users in your production environment.
7777

78-
Technically, the `app/console`_ script used when running Symfony on the command
78+
Technically, the `bin/console`_ script used when running Symfony on the command
7979
line is also a front controller, only that is not used for web, but for command
8080
line requests.
8181

@@ -162,7 +162,7 @@ way of loading your configuration.
162162
.. _Symfony Standard Edition: https://github.com/symfony/symfony-standard
163163
.. _app.php: https://github.com/symfony/symfony-standard/blob/master/web/app.php
164164
.. _app_dev.php: https://github.com/symfony/symfony-standard/blob/master/web/app_dev.php
165-
.. _app/console: https://github.com/symfony/symfony-standard/blob/master/app/console
165+
.. _bin/console: https://github.com/symfony/symfony-standard/blob/master/bin/console
166166
.. _AppKernel: https://github.com/symfony/symfony-standard/blob/master/app/AppKernel.php
167167
.. _decorate: https://en.wikipedia.org/wiki/Decorator_pattern
168168
.. _RewriteRule shipped with the Symfony Standard Edition: https://github.com/symfony/symfony-standard/blob/master/web/.htaccess

cookbook/configuration/override_dir_structure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ file:
154154

155155
.. code-block:: bash
156156
157-
$ php app/console cache:clear --env=prod
158-
$ php app/console assetic:dump --env=prod --no-debug
157+
$ php bin/console cache:clear --env=prod
158+
$ php bin/console assetic:dump --env=prod --no-debug
159159
160160
Override the ``vendor`` Directory
161161
---------------------------------

cookbook/console/console_command.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ This command will now automatically be available to run:
6868

6969
.. code-block:: bash
7070
71-
$ php app/console demo:greet Fabien
71+
$ php bin/console demo:greet Fabien
7272
7373
.. _cookbook-console-dic:
7474

cookbook/console/usage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ clear and warm the ``prod`` cache you need to run:
1717

1818
.. code-block:: bash
1919
20-
$ php app/console cache:clear --env=prod
20+
$ php bin/console cache:clear --env=prod
2121
2222
or the equivalent:
2323

2424
.. code-block:: bash
2525
26-
$ php app/console cache:clear -e prod
26+
$ php bin/console cache:clear -e prod
2727
2828
In addition to changing the environment, you can also choose to disable debug mode.
2929
This can be useful where you want to run commands in the ``dev`` environment
3030
but avoid the performance hit of collecting debug data:
3131

3232
.. code-block:: bash
3333
34-
$ php app/console list --no-debug
34+
$ php bin/console list --no-debug

cookbook/deployment/azure-website.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ MySQL database.
388388

389389
.. code-block:: bash
390390
391-
$ php app/console doctrine:schema:update --force
391+
$ php bin/console doctrine:schema:update --force
392392
393393
This command builds the tables and indexes for your MySQL database. If your
394394
Symfony application is more complex than a basic Symfony Standard Edition, you

cookbook/deployment/heroku.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ This is also very useful to build assets on the production system, e.g. with Ass
275275
{
276276
"scripts": {
277277
"compile": [
278-
"app/console assetic:dump"
278+
"bin/console assetic:dump"
279279
]
280280
}
281281
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy