final class Processor

Schema validator.

Properties

$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 27
skipDefaults(bool $value = true)

No description

Parameters

bool $value

at line 38
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 54
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 75
array getWarnings()

No description

Return Value

array

Traits

SmartObject