0) && ($value < DomainController::NUMBER_MAX)); } /** * Get the validation error message. * * @return string */ public function message() { return sprintf('The number must be between 1 and %d.',DomainController::NUMBER_MAX); } }