8000 Showing the new debug:autowiring command · symfony/symfony-docs@c7d207f · GitHub
[go: up one dir, main page]

Skip to content

Commit c7d207f

Browse files
committed
Showing the new debug:autowiring command
1 parent d7ee5d5 commit c7d207f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,12 @@ If you need a service in a controller, just type-hint an argument with its class
268268

269269
Awesome!
270270

271-
What other services can you type-hint? To see them, use the ``debug:container`` console
271+
What other services can you type-hint? To see them, use the ``debug:autowiring`` console
272272
command:
273273

274274
.. code-block:: terminal
275275
276-
$ php bin/console debug:container --types
276+
$ php bin/console debug:autowiring
277277
278278
If you need control over the *exact* value of an argument, you can override your
279279
controller's service config:

service_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ type-hints by running:
323323

324324
.. code-block:: terminal
325325
326-
$ php bin/console debug:container --types
326+
$ php bin/console debug:autowiring
327327
328328
This is just a small subset of the output:
329329

service_container/debug.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ To see a list of all of the available types that can be used for autowiring, run
2222

2323
.. code-block:: terminal
2424
25-
$ php bin/console debug:container --types
25+
$ php bin/console debug:autowiring
2626
27-
.. versionadded:: 3.3
28-
The ``--types`` option was introduced in Symfony 3.3.
27+
.. versionadded:: 3.4
28+
The ``debug:autowiring`` command was introduced in Symfony 3.3.
2929

3030
Detailed Info about a Single Service
3131
------------------------------------

0 commit comments

Comments
 (0)
0