Simple implementation of ClassMetadataFactoryInterface that can be used when using ValidatorInterface::validateValue().
@author Fabien Potencier <fabien@symfony.com>
Expanded class hierarchy of BlackholeMetadataFactory
class BlackholeMetadataFactory implements ClassMetadataFactoryInterface {
public function getClassMetadata($class) {
throw new \LogicException('BlackholeClassMetadataFactory only works with ValidatorInterface::validateValue().');
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BlackholeMetadataFactory:: |
public | function |