MetadataInterface deprecated

MetadataInterface deprecated

interface MetadataInterface

deprecated

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

A container for validation metadata.

The container contains constraints that may belong to different validation groups. Constraints for a specific group can be fetched by calling {@link findConstraints}.

Implement this interface to add validation metadata to your own metadata layer. Each metadata may have named properties. Each property can be represented by one or more {@link PropertyMetadataInterface} instances that are returned by {@link getPropertyMetadata}. Since PropertyMetadataInterface inherits from MetadataInterface, each property may be divided