$group->getRouteKey(), 'key' => [ 'public' => $group->getPublicKey(), 'route' => $group->getRouteKey(), ], 'restaurant_id' => $group->restaurant_id, 'name' => $group->name, 'order_no' => $group->order_no, 'logo' => $group->logo, 'user_id' => $group->user_id, 'user_type' => $group->user_type, 'deleted_at' => $group->deleted_at, 'PRIMARY' => $group->PRIMARY, 'id),' => $group->id),, 'url' => [ 'public' => trans_url('group/'.$group->getPublicKey()), 'user' => guard_url('group/group/'.$group->getRouteKey()), ], 'status' => trans('app.'.$group->status), 'created_at' => format_date($group->created_at), 'updated_at' => format_date($group->updated_at), ]; } }