Browse Source

Merge pull request #73 from adrienbrault/patch-1

Add the PRE_DESERIALIZE event to the Events class
Johannes 12 years ago
parent
commit
f5bef1a1ee
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/JMS/Serializer/EventDispatcher/Events.php

+ 1 - 0
src/JMS/Serializer/EventDispatcher/Events.php

@@ -22,6 +22,7 @@ abstract class Events
 {
     const PRE_SERIALIZE = 'serializer.pre_serialize';
     const POST_SERIALIZE = 'serializer.post_serialize';
+    const PRE_DESERIALIZE = 'serializer.pre_deserialize';
     const POST_DESERIALIZE = 'serializer.post_deserialize';
 
     final private function __construct() { }