qb_id = $data['qb_id']; return $is; } public function set($model, string $key, $value, array $attributes) { return [ $key => json_encode([ 'qb_id' => $value->qb_id, ]) ]; } }