You are here

public function RecursiveValidator::hasMetadataFor in Plug 7

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

lib/Symfony/validator/Symfony/Component/Validator/Validator/RecursiveValidator.php, line 105

Class

RecursiveValidator
Recursive implementation of {@link ValidatorInterface}.

Namespace

Symfony\Component\Validator\Validator

Code

public function hasMetadataFor($object) {
  return $this->metadataFactory
    ->hasMetadataFor($object);
}