Beispiel #1
0
 /**
  * Recursively resolves JSON pointer references within a given schema.
  *
  * @param stdClass $schema The schema to resolve
  * @param Uri      $uri    The URI of the schema
  *
  * @return stdClass
  */
 public function resolveReferences(stdClass $schema, Uri $uri)
 {
     $this->resolver->initialize($schema, $uri);
     return $this->doResolveReferences($schema, $uri);
 }