diff --git a/docs/en/entity-listeners.rst b/docs/en/entity-listeners.rst index 35c4483e5..2952a17df 100644 --- a/docs/en/entity-listeners.rst +++ b/docs/en/entity-listeners.rst @@ -121,33 +121,4 @@ back on the ``__invoke()`` method. See also https://www.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#entity-listeners -for more info on entity listeners and the resolver required by Symfony. - -Lazy Entity Listeners ---------------------- - -You can use the ``lazy`` attribute on the tag to make sure the listener services -are only instantiated when they are actually used. - -.. configuration-block:: - - .. code-block:: yaml - - services: - App\UserListener: - tags: - - { name: doctrine.orm.entity_listener, lazy: true } - - .. code-block:: xml - - - - - - - - - - - +for more info on entity listeners and the resolver required by Symfony. \ No newline at end of file