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 Blank extends Constraint Chris@0: { Chris@0: const NOT_BLANK_ERROR = '183ad2de-533d-4796-a439-6d3c3852b549'; Chris@0: Chris@17: protected static $errorNames = [ Chris@0: self::NOT_BLANK_ERROR => 'NOT_BLANK_ERROR', Chris@17: ]; Chris@0: Chris@0: public $message = 'This value should be blank.'; Chris@0: }