From a4b3df76f9b04f08d6df5f8635d551889216202f Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Fri, 19 Jun 2020 14:34:23 +0200 Subject: [PATCH] FIX: Fixing documentation to give real working examples of disabling auto wiring --- .../TheDefinitiveGuide/PartIII/ObjectManagement.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartIII/ObjectManagement.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartIII/ObjectManagement.rst index 2a94e002d9..a0ff2ba0e2 100644 --- a/Neos.Flow/Documentation/TheDefinitiveGuide/PartIII/ObjectManagement.rst +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartIII/ObjectManagement.rst @@ -1186,9 +1186,9 @@ the object configuration: .. code-block:: yaml MyCompany\MyPackage\MyObject: - autowiring: off + autowiring: false -Autowiring can also be switched off through the ``@autowiring off`` annotation - either +Autowiring can also be switched off through the ``@Flow\Autowiring(false)`` annotation - either in the documentation block of a whole class or of a single method. For the latter the annotation only has an effect when used in comment blocks of a constructor or of a method whose name starts with ``inject``.