We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c8401 commit c4d8a1dCopy full SHA for c4d8a1d
bundles/best_practices.rst
@@ -656,9 +656,9 @@ Twig ``stimulus_*`` functions.
656
657
.. tip::
658
659
- If the bundle is named ``acme/feature`` and the controller is named ``slug``, the base key for the controller
660
- will be ``acme/feature/slug``: it's composed of the bundle name and the controller name defined in
661
- the ``package.json`` file.
+ Controller Naming: In this example, the ``name`` of the PHP package is ``acme/feature`` and the name
+ of the controller in ``package.json`` is ``slug``. So, the full controller name for Stimulus will be
+ ``acme--feature--slug``, though with the ``stimulus_controller()`` function, you can use ``acme/feature/slug``.
662
663
Learn more
664
----------
0 commit comments