/**
  * MaxStringLengthConstraint constructor.
  * @param integer $maxLength
  * @param string $name
  */
 public function __construct($maxLength, $name = 'max_length')
 {
     parent::__construct($name, '%s shouldn\'t be longer than ||||%d|character|characters||||');
     $this->maxLength = $maxLength;
 }
 /**
  * NotEmptyConstraint constructor.
  * @param string $name
  */
 public function __construct($name = 'not_empty')
 {
     parent::__construct($name, '%s cannot be empty');
 }