class ComplexDataConstraintValidator extends ConstraintValidator (View source)

Validates complex data.

Traits

Defines a trait to access the typed data object of a validated value.

Methods

getTypedData()

Gets the typed data object for the validated value.

validate($data, Constraint $constraint)

{@inheritdoc}

Details

TypedDataInterface getTypedData()

Gets the typed data object for the validated value.

Return Value

TypedDataInterface

The typed data object.

validate($data, Constraint $constraint)

{@inheritdoc}

Parameters

$data
Constraint $constraint