Permalink
Browse files

Merge pull request #1567 from Steveb-p/patch-1

Fix invalid info about event arguments
  • Loading branch information...
2 parents a250f14 + 3895a23 commit 4b6ef73855e5bb856b7322a1d26ce40eafb9f076 @malarzm malarzm committed on GitHub Mar 8, 2017
Showing with 4 additions and 3 deletions.
  1. +4 −3 docs/en/reference/events.rst
@@ -203,9 +203,10 @@ listeners:
-
Lifecycle Callbacks are methods on the document classes that are
- called when the event is triggered. They receive absolutely no
- arguments and are specifically designed to allow changes inside the
- document classes state.
+ called when the event is triggered. They receive instances
+ of ``Doctrine\ODM\MongoDB\Event\LifecycleEventArgs`` (see relevant
+ examples below) as arguments and are specifically designed to allow
+ changes inside the document classes state.
-
Lifecycle Event Listeners are classes with specific callback
methods that receives some kind of ``EventArgs`` instance which

0 comments on commit 4b6ef73

Please sign in to comment.