public static function CallbackValidatorTest_Object::validateStatic in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ CallbackValidatorTest.php, line 39
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public static function validateStatic($object, ExecutionContextInterface $context) {
$context
->addViolation('Static message', array(
'{{ value }}' => 'baz',
));
return false;
}