Skip to content

Commit

Permalink
Merge pull request #897 from greg0ire/sample_formatting
Browse files Browse the repository at this point in the history
Format code samples properly
  • Loading branch information
alcaeus committed Dec 18, 2018
2 parents 5c13e81 + f1df40b commit 4725c6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Resources/doc/entity-listeners.rst
Expand Up @@ -15,7 +15,7 @@ entity manager it should be registered with. Example:
class: \UserListener
tags:
- { name: doctrine.orm.entity_listener }
-
-
name: doctrine.orm.entity_listener
event: preUpdate
entity: App\Entity\User
Expand All @@ -35,7 +35,8 @@ entity manager it should be registered with. Example:
event="preUpdate"
entity="App\Entity\User"
entity_manager="custom"
/> </service>
/>
</service>
</services>
</container>
Expand Down

0 comments on commit 4725c6d

Please sign in to comment.