You are here

public function ExecutionContext::getMetadataFor in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/ExecutionContext.php, line 213

Class

ExecutionContext
Default implementation of {@link ExecutionContextInterface}.

Namespace

Symfony\Component\Validator

Code

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