user()->can('edit', $this->document); } public function rules() { return []; } protected function prepareForValidation() { $input = $this->all(); $this->replace($input); } }