protected function sanitizeInternal(Sanitize $sanitize, $ruleName, $attributeName, $args)
{
if ($sanitize instanceof ModelSanitize) {
$sanitize->model = $this->model;
$sanitize->attribute = $attributeName;
}
if ($sanitize->existsRule($ruleName)) {
if ($sanitize instanceof ModelSanitize) {
$sanitize->model = $this->model;
$sanitize->attribute = $attributeName;
}
$this->model->{$attributeName} = call_user_func_array([$sanitize, $ruleName], $args)->sanitize($this->model->{$attributeName});
}
}