Symfony2 API
Class

Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader

class YamlFilesLoader extends FilesLoader

Loads multiple yaml mapping files

Methods

__construct(array $paths)

Accepts a list of LoaderInterface instances

from FilesLoader
getFileLoaderInstance($file)

{@inheritDoc}

Details

in FilesLoader at line 31
public __construct(array $paths)

Accepts a list of LoaderInterface instances

Parameters

array $paths Array of file paths

Exceptions

MappingException If any of the loaders does not implement LoaderInterface

at line 26
public getFileLoaderInstance($file)

{@inheritDoc}

Parameters

$file