File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ and any other components by running:
118
118
119
119
.. code-block :: terminal
120
120
121
- $ php bin/console debug:twig-component --dir=bar
121
+ $ php bin/console debug:twig-component
122
122
123
123
Take a moment to fist pump - then come back!
124
124
@@ -1598,7 +1598,7 @@ Debugging Components
1598
1598
As your application grows, you'll eventually have a lot of components.
1599
1599
This command will help you to debug some components issues.
1600
1600
First, the debug:twig-component command lists all your application components
1601
- who live in ``templates/components ``:
1601
+ that live in ``templates/components/ ``:
1602
1602
1603
1603
.. code-block :: terminal
1604
1604
@@ -1614,15 +1614,7 @@ who live in ``templates/components``:
1614
1614
| foo:Anonymous | Anonymous component | components/foo/Anonymous.html.twig | |
1615
1615
+---------------+-----------------------------+------------------------------------+------+
1616
1616
1617
- If you have some components that don't live in ``templates/components/ ``,
1618
- but in ``templates/bar `` for example, you can pass an option:
1619
-
1620
- .. code-block :: terminal
1621
-
1622
- $ php bin/console debug:twig-component --dir=bar
1623
-
1624
- And the name of some component to this argument to print the
1625
- component details:
1617
+ Pass the name of some component as an argument to print its details:
1626
1618
1627
1619
.. code-block :: terminal
1628
1620
You can’t perform that action at this time.
0 commit comments