class AnnotationLoader implements LoaderInterface
Loads validation metadata using a Doctrine annotation {@link Reader}.
protected | $reader |
__construct(Reader $reader) | ||
bool | loadClassMetadata(ClassMetadata $metadata) Loads validation metadata into a {@link ClassMetadata} instance. |
Reader | $reader |
Loads validation metadata into a {@link ClassMetadata} instance.
ClassMetadata | $metadata |
bool | Whether the loader succeeded |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.html