Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Validator\Constraints; Chris@0: Chris@0: /** Chris@0: * @Annotation Chris@0: * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) Chris@0: * Chris@0: * @author Daniel Holmes Chris@0: * @author Bernhard Schussek Chris@0: */ Chris@0: class NotEqualTo extends AbstractComparison Chris@0: { Chris@0: const IS_EQUAL_ERROR = 'aa2e33da-25c8-4d76-8c6c-812f02ea89dd'; Chris@0: Chris@17: protected static $errorNames = [ Chris@0: self::IS_EQUAL_ERROR => 'IS_EQUAL_ERROR', Chris@17: ]; Chris@0: Chris@0: public $message = 'This value should not be equal to {{ compared_value }}.'; Chris@0: }