You are here

public function ExecutionContext::getMetadataFor in Zircon Profile 8

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

File

vendor/symfony/validator/ExecutionContext.php, line 215

Class

ExecutionContext
Default implementation of {@link ExecutionContextInterface}.

Namespace

Symfony\Component\Validator

Code

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