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 |
Return Value
bool | Whether the loader succeeded |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.html