YamlFilesLoader
class YamlFilesLoader extends FilesLoader
Loads validation metadata from a list of YAML files.
Properties
protected | $loaders | from LoaderChain |
Methods
bool
loadClassMetadata(ClassMetadata $metadata)
Loads validation metadata into a {@link ClassMetadata} instance.
from LoaderChain
getFileLoaders(array $paths)
Returns an array of file loaders for the given file paths.
from FilesLoader
getFileLoaderInstance($file)
Creates a loader for the given file path.
Details
bool
loadClassMetadata(ClassMetadata $metadata)
Loads validation metadata into a {@link ClassMetadata} instance.
protected LoaderInterface[]
getFileLoaders(array $paths)
Returns an array of file loaders for the given file paths.