$members->getRouteKey(), 'key' => [ 'public' => $members->getPublicKey(), 'route' => $members->getRouteKey(), ], 'name' => $members->name, 'designation' => $members->designation, 'description' => $members->description, 'image' => $members->image, 'category' => $members->category, 'status' => $members->status, 'url' => [ 'public' => trans_url('member/'.$members->getPublicKey()), 'user' => guard_url('member/members/'.$members->getRouteKey()), ], 'status' => trans('app.'.$members->status), 'created_at' => format_date($members->created_at), 'updated_at' => format_date($members->updated_at), ]; } }