Symfony2 API
Class

Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader

class YamlFilesLoader extends FilesLoader

Loads multiple yaml mapping files.

Methods

__construct(array $paths)

Array of mapping files.

from FilesLoader
bool loadClassMetadata(ClassMetadata $metadata)

Load a Class Metadata.

from LoaderChain
getFileLoaderInstance($file)

{@inheritdoc}

Details

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

Array of mapping files.

Parameters

array $paths Array of file paths

in LoaderChain at line 52
public bool loadClassMetadata(ClassMetadata $metadata)

Load a Class Metadata.

Parameters

ClassMetadata $metadata A metadata

Return Value

bool

at line 26
public getFileLoaderInstance($file)

{@inheritdoc}

Parameters

$file