Symfony2 API
Class

Symfony\Component\Validator\Mapping\Loader\XmlFileLoader

class XmlFileLoader extends FileLoader

Methods

__construct(string $file)

Constructor.

from FileLoader
loadClassMetadata(ClassMetadata $metadata)

{@inheritDoc}

Details

in FileLoader at line 28
public __construct(string $file)

Constructor.

Parameters

string $file The mapping file to load

Exceptions

MappingException if the mapping file does not exist
MappingException if the mapping file is not readable

at line 30
public loadClassMetadata(ClassMetadata $metadata)

{@inheritDoc}

Parameters

ClassMetadata $metadata