_validator($this->field, function ($field, $params) { if (!isset($params[$field])) { return $this->addError('The param :attribute not exists'); } else { return true; } }); } }