This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Validator/Tests/Fixtures/FailingConstraint.php

16 lines
305 B
PHP
Raw Normal View History

<?php
namespace Symfony\Component\Validator\Tests\Fixtures;
use Symfony\Component\Validator\Constraint;
class FailingConstraint extends Constraint
{
public $message = 'Failed';
public function getTargets()
{
return array(self::PROPERTY_CONSTRAINT, self::CLASS_CONSTRAINT);
}
2011-06-08 18:56:59 +01:00
}