Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\Serializer\SerializerInterface $serializer ) | ||
resolve ( Joli\Jane\Runtime\Reference $reference ) : mixed | Resolve a JSON Reference for a Schema |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 | |
Результат | Joli\Jane\Model\JsonSchema | Return the json schema referenced |