class YamlFilesLoader extendsFilesLoader

Loads validation metadata from a list of YAML files.

Methods

__construct(array$paths)

Creates a new loader.

array
getFileLoaders(array$paths)

Returns an array of file loaders for the given file paths.

getFileLoaderInstance(string$file)

Creates a loader for the given file path.

Details

__construct(array$paths)

Creates a new loader.

Parameters

array $paths An array of file paths

protectedarray getFileLoaders(array$paths)

Returns an array of file loaders for the given file paths.

Parameters

array $paths

Return Value

array

LoaderInterface getFileLoaderInstance(string$file)

Creates a loader for the given file path.

Parameters

string $file

Return Value

LoaderInterface