final class Processor

Schema validator.

Properties

array $onNewContext

Methods

skipDefaults(bool $value = true)

No description

mixed
process(Schema $schema, $data)

Normalizes and validates data. Result is a clean completed data.

mixed
processMultiple(Schema $schema, array $dataset)

Normalizes and validates and merges multiple data. Result is a clean completed data.

array
getWarnings()

No description

Details

at line 32
skipDefaults(bool $value = true)

No description

Parameters

bool $value

at line 43
mixed process(Schema $schema, $data)

Normalizes and validates data. Result is a clean completed data.

Parameters

Schema $schema
$data

Return Value

mixed

Exceptions

ValidationException

at line 59
mixed processMultiple(Schema $schema, array $dataset)

Normalizes and validates and merges multiple data. Result is a clean completed data.

Parameters

Schema $schema
array $dataset

Return Value

mixed

Exceptions

ValidationException

at line 80
array getWarnings()

No description

Return Value

array

Traits

SmartObject