Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / serializer / Mapping / AttributeMetadataInterface.php
index 6bb30274e3428bc5474035d8186ebb3d6457f4eb..abba8c1969799e9fe768d500b1261550971ddcd4 100644 (file)
@@ -43,6 +43,20 @@ interface AttributeMetadataInterface
      */
     public function getGroups();
 
+    /**
+     * Sets the serialization max depth for this attribute.
+     *
+     * @param int|null $maxDepth
+     */
+    public function setMaxDepth($maxDepth);
+
+    /**
+     * Gets the serialization max depth for this attribute.
+     *
+     * @return int|null
+     */
+    public function getMaxDepth();
+
     /**
      * Merges an {@see AttributeMetadataInterface} with in the current one.
      *