class AnnotationLoader implements LoaderInterface

Loads validation metadata using a Doctrine annotation {@link Reader}.

Methods

__construct(Reader $reader)

No description

bool
loadClassMetadata(ClassMetadata $metadata)

Loads validation metadata into a {@link ClassMetadata} instance.

Details

at line line 31
__construct(Reader $reader)

Parameters

Reader $reader

at line line 39
bool loadClassMetadata(ClassMetadata $metadata)

Loads validation metadata into a {@link ClassMetadata} instance.

Parameters

ClassMetadata $metadata

Return Value

bool Whether the loader succeeded