Method | Description | |
---|---|---|
__construct ( Symfony\Component\Serializer\SerializerInterface $serializer ) | ||
resolve ( Joli\Jane\Runtime\Reference $reference ) : mixed | Resolve a JSON Reference for a Schema |
Method | Description | |
---|---|---|
doResolve ( Joli\Jane\Runtime\Reference $reference ) : mixed | Resolve a JSON Reference for a Schema | |
resolveJSONPointer ( Joli\Jane\Runtime\Reference $reference, Joli\Jane\Model\JsonSchema $schema ) : mixed | Resolve a JSON Pointer for a Schema | |
resolveSchema ( Joli\Jane\Runtime\Reference $reference, Joli\Jane\Model\JsonSchema $currentSchema ) : Joli\Jane\Model\JsonSchema | Resolve JSON Schema for the reference |
Method | Description | |
---|---|---|
getJsonSchemaContent ( $schemaUrl ) |
public __construct ( Symfony\Component\Serializer\SerializerInterface $serializer ) | ||
$serializer | Symfony\Component\Serializer\SerializerInterface |
protected resolveJSONPointer ( Joli\Jane\Runtime\Reference $reference, Joli\Jane\Model\JsonSchema $schema ) : mixed | ||
$reference | Joli\Jane\Runtime\Reference | |
$schema | Joli\Jane\Model\JsonSchema | |
return | mixed | Return the json value (deserialized) referenced |
protected resolveSchema ( Joli\Jane\Runtime\Reference $reference, Joli\Jane\Model\JsonSchema $currentSchema ) : Joli\Jane\Model\JsonSchema | ||
$reference | Joli\Jane\Runtime\Reference | |
$currentSchema | Joli\Jane\Model\JsonSchema | |
return | Joli\Jane\Model\JsonSchema | Return the json schema referenced |