AnnotationLoader

class AnnotationLoader implements LoaderInterface

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

Methods

__construct(Reader $reader)
bool loadClassMetadata(ClassMetadata $metadata)

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

Details

__construct(Reader $reader)

Parameters

Reader $reader

bool loadClassMetadata(ClassMetadata $metadata)

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

Parameters

ClassMetadata $metadata The metadata to load

Return Value

bool Whether the loader succeeded
doc_Symfony
2016-10-28 06:05:15
Comments
Leave a Comment

Please login to continue.