Ver código fonte

Add the PRE_DESERIALIZE event to the Events class

Adrien Brault 12 anos atrás
pai
commit
c0a558a309
1 arquivos alterados com 1 adições e 0 exclusões
  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() { }