class YamlFileLoader extends FileLoader
Loads validation metadata from a YAML file.
Constants
DEFAULT_NAMESPACE | The namespace to load constraints from by default. |
Methods
__construct(string $file) Creates a new loader. | from FileLoader | |
bool | loadClassMetadata(ClassMetadata $metadata) Loads validation metadata into a {@link ClassMetadata} instance. |
Details
__construct(string $file)
Creates a new loader.
bool loadClassMetadata(ClassMetadata $metadata)
Loads validation metadata into a {@link ClassMetadata} instance.
Please login to continue.