We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e70e474 commit 62b7149Copy full SHA for 62b7149
doctrine/events.rst
@@ -304,23 +304,6 @@ listener in the Symfony application by creating a new service for it and
304
305
.. configuration-block::
306
307
- .. code-block:: php-attributes
308
-
309
- // src/EventListener/SearchIndexer.php
310
- namespace App\EventListener;
311
312
- use Doctrine\Bundle\DoctrineBundle\Attribute\AsDoctrineListener;
313
- use Doctrine\ORM\Event\PostPersistEventArgs;
314
315
- #[AsDoctrineListener('postPersist'/*, 500, 'default'*/)]
316
- class SearchIndexer
317
- {
318
- public function postPersist(PostPersistEventArgs $event): void
319
320
- // ...
321
- }
322
323
324
.. code-block:: yaml
325
326
# config/services.yaml
0 commit comments