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