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 NotIdenticalTo extends AbstractComparison Chris@0: { Chris@0: const IS_IDENTICAL_ERROR = '4aaac518-0dda-4129-a6d9-e216b9b454a0'; Chris@0: Chris@17: protected static $errorNames = [ Chris@0: self::IS_IDENTICAL_ERROR => 'IS_IDENTICAL_ERROR', Chris@17: ]; Chris@0: Chris@0: public $message = 'This value should not be identical to {{ compared_value_type }} {{ compared_value }}.'; Chris@0: }