We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c46307 commit f5269bdCopy full SHA for f5269bd
src/JsonSchema/RefResolver.php
@@ -74,6 +74,14 @@ private function resolveCached($sourceUri)
74
return $this->getRefSchema($jsonPointer, $schema);
75
}
76
77
+ /**
78
+ * Removes all resolved schemas from cache.
79
+ */
80
+ public function clearCache()
81
+ {
82
+ $this->cache = [];
83
+ }
84
+
85
/**
86
* Recursive resolve schema by traversing through al nodes
87
*
0 commit comments