PHP Class Sanpi\Behatch\Json\JsonSchema

Inheritance: extends Json
Afficher le fichier Open project: behatch/contexts Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $content, $uri = null )
resolve ( JsonSchema\RefResolver $resolver )
validate ( Json $json, JsonSchema\Validator $validator )

Private Methods

Méthode Description
hasUri ( )

Method Details

__construct() public méthode

public __construct ( $content, $uri = null )

resolve() public méthode

public resolve ( JsonSchema\RefResolver $resolver )
$resolver JsonSchema\RefResolver

validate() public méthode

public validate ( Json $json, JsonSchema\Validator $validator )
$json Json
$validator JsonSchema\Validator