You are here

public function Validator::getMetadataFor in Zircon Profile 8

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

File

vendor/symfony/validator/Validator.php, line 81

Class

Validator
Default implementation of {@link ValidatorInterface}.

Namespace

Symfony\Component\Validator

Code

public function getMetadataFor($value) {
  return $this->metadataFactory
    ->getMetadataFor($value);
}