Преглед изворни кода

Merge pull request #218 from rothfahl/master

add $this->maxDepth to serialize / unserialize
Johannes пре 11 година
родитељ
комит
9ef1b5c8ad
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/JMS/Serializer/Metadata/VirtualPropertyMetadata.php

+ 2 - 0
src/JMS/Serializer/Metadata/VirtualPropertyMetadata.php

@@ -61,6 +61,7 @@ class VirtualPropertyMetadata extends PropertyMetadata
             $this->xmlKeyValuePairs,
             $this->xmlElementCData,
             $this->xmlAttributeMap,
+            $this->maxDepth,
             $this->getter,
             $this->setter,
             $this->inline,
@@ -88,6 +89,7 @@ class VirtualPropertyMetadata extends PropertyMetadata
             $this->xmlKeyValuePairs,
             $this->xmlElementCData,
             $this->xmlAttributeMap,
+            $this->maxDepth,
             $this->getter,
             $this->setter,
             $this->inline,