protected function filterDigit($field, $details, $label, $message) {
        if (ctype_digit($this->getValue($field))) {
            return true;
        }
        throw new \Exception($message ? $message : $this->translate("$label must be digit!"));
    }