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: use Symfony\Component\Validator\Constraint; Chris@0: Chris@0: /** Chris@0: * @Annotation Chris@0: * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) Chris@0: * Chris@0: * @author Bernhard Schussek Chris@0: */ Chris@0: class NotBlank extends Constraint Chris@0: { Chris@0: const IS_BLANK_ERROR = 'c1051bb4-d103-4f74-8988-acbcafc7fdc3'; Chris@0: Chris@17: protected static $errorNames = [ Chris@0: self::IS_BLANK_ERROR => 'IS_BLANK_ERROR', Chris@17: ]; Chris@0: Chris@0: public $message = 'This value should not be blank.'; Chris@0: }