abstractclass FilesLoader extendsLoaderChain

Base loader for loading validation metadata from a list of 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$path)

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

abstractprotectedLoaderInterface getFileLoaderInstance(string$path)

Creates a loader for the given file path.

Parameters

string $path

Return Value

LoaderInterface