You are here

public function BlackHoleMetadataFactory::hasMetadataFor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/Factory/BlackHoleMetadataFactory.php \Symfony\Component\Validator\Mapping\Factory\BlackHoleMetadataFactory::hasMetadataFor()

Returns whether the class is able to return metadata for the given value.

Parameters

mixed $value Some value:

Return value

bool Whether metadata can be returned for that value

Overrides MetadataFactoryInterface::hasMetadataFor

File

vendor/symfony/validator/Mapping/Factory/BlackHoleMetadataFactory.php, line 36

Class

BlackHoleMetadataFactory
Metadata factory that does not store metadata.

Namespace

Symfony\Component\Validator\Mapping\Factory

Code

public function hasMetadataFor($value) {
  return false;
}