user()->can('edit', $this->company); } public function rules() { $rules = []; return $rules; } public function sanitize() { $input = $this->all(); //$input['id'] = $this->encodePrimaryKey($input['id']); //$this->replace($input); return $this->all(); } }