StaticMethodLoader
class StaticMethodLoader implements LoaderInterface
Loads validation metadata by calling a static method on the loaded class.
Properties
protected | $methodName |
Methods
__construct(string $methodName = 'loadValidatorMetadata')
Creates a new loader.
bool
loadClassMetadata(ClassMetadata $metadata)
Loads validation metadata into a {@link ClassMetadata} instance.
Details
bool
loadClassMetadata(ClassMetadata $metadata)
Loads validation metadata into a {@link ClassMetadata} instance.