$schemaStorage
$schemaStorage : \JsonSchema\SchemaStorage
Factory for centralize constraint initialization.
$schemaStorage : \JsonSchema\SchemaStorage
$uriRetriever : \JsonSchema\Uri\UriRetriever
$typeCheck : array<mixed,\JsonSchema\Constraints\TypeCheck\TypeCheckInterface>
__construct(\JsonSchema\SchemaStorage $schemaStorage = null, \JsonSchema\UriRetrieverInterface $uriRetriever = null, integer $checkMode = \JsonSchema\Constraints\Constraint::CHECK_MODE_NORMAL)
\JsonSchema\SchemaStorage | $schemaStorage | |
\JsonSchema\UriRetrieverInterface | $uriRetriever | |
integer | $checkMode |
getUriRetriever() : \JsonSchema\UriRetrieverInterface
setConstraintClass(string $name, string $class) : \JsonSchema\Constraints\Factory
string | $name | |
string | $class |
createInstanceFor(string $constraintName) : \JsonSchema\Constraints\ConstraintInterface|\JsonSchema\Constraints\ObjectConstraint
Create a constraint instance for the given constraint name.
string | $constraintName |
if is not possible create the constraint instance