PropertyMetadataInterface deprecated

PropertyMetadataInterface deprecated

interface PropertyMetadataInterface implements MetadataInterface

deprecated

since version 2.5, to be removed in 3.0. Use {@link Mapping\PropertyMetadataInterface} instead.

A container for validation metadata of a property.

What exactly you define as "property" is up to you. The validator expects implementations of {@link MetadataInterface} that contain constraints and optionally a list of named properties that also have constraints (and may have further sub properties). Such properties are mapped by implementations of this interface.

Methods登录查看完整内容