File tree 3 files changed +13
-13
lines changed 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ via the ``config:dump-reference`` command:
107
107
108
108
.. code-block :: terminal
109
109
110
- $ bin/console config:dump-reference AsseticBundle
110
+ $ php bin/console config:dump-reference AsseticBundle
111
111
112
112
Instead of the full bundle name, you can also pass the short name used as the root
113
113
of the bundle's configuration:
114
114
115
115
.. code-block :: terminal
116
116
117
- $ bin/console config:dump-reference assetic
117
+ $ php bin/console config:dump-reference assetic
118
118
119
119
The output will look like this:
120
120
@@ -140,7 +140,7 @@ The output will look like this:
140
140
141
141
.. code-block :: terminal
142
142
143
- $ bin/console config:dump-reference AsseticBundle use_controller
143
+ $ php bin/console config:dump-reference AsseticBundle use_controller
144
144
145
145
# Default configuration for "AsseticBundle" at path "use_controller"
146
146
use_controller:
Original file line number Diff line number Diff line change @@ -337,10 +337,10 @@ with these tasks:
337
337
.. code-block :: terminal
338
338
339
339
# updates the French translation file with the missing strings found in app/Resources/ templates
340
- $ ./ bin/console translation:update --dump-messages --force fr
340
+ $ php bin/console translation:update --dump-messages --force fr
341
341
342
342
# updates the English translation file with the missing strings found in AppBundle
343
- $ ./ bin/console translation:update --dump-messages --force en AppBundle
343
+ $ php bin/console translation:update --dump-messages --force en AppBundle
344
344
345
345
.. note ::
346
346
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ translation file using the ``lint:yaml`` and ``lint:xliff`` commands:
15
15
.. code-block :: terminal
16
16
17
17
# lint a single file
18
- $ ./ bin/console lint:yaml app/Resources/translations/messages.en.yml
19
- $ ./ bin/console lint:xliff app/Resources/translations/messages.en.xlf
18
+ $ php bin/console lint:yaml app/Resources/translations/messages.en.yml
19
+ $ php bin/console lint:xliff app/Resources/translations/messages.en.xlf
20
20
21
21
# lint a whole directory
22
- $ ./ bin/console lint:yaml app/Resources/translations
23
- $ ./ bin/console lint:xliff app/Resources/translations
22
+ $ php bin/console lint:yaml app/Resources/translations
23
+ $ php bin/console lint:xliff app/Resources/translations
24
24
25
25
# lint a specific bundle
26
- $ ./ bin/console lint:yaml @AppBundle
27
- $ ./ bin/console lint:xliff @AppBundle
26
+ $ php bin/console lint:yaml @AppBundle
27
+ $ php bin/console lint:xliff @AppBundle
28
28
29
29
.. versionadded :: 3.3
30
30
@@ -35,5 +35,5 @@ The linter results can be exported to JSON using the ``--format`` option:
35
35
.. code-block :: terminal
36
36
37
37
# lint a single file
38
- $ ./ bin/console lint:yaml app/Resources/translations --format=json
39
- $ ./ bin/console lint:xliff app/Resources/translations --format=json
38
+ $ php bin/console lint:yaml app/Resources/translations --format=json
39
+ $ php bin/console lint:xliff app/Resources/translations --format=json
You can’t perform that action at this time.
0 commit comments