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