$targetgroup->getRouteKey(), 'key' => [ 'public' => $targetgroup->getPublicKey(), 'route' => $targetgroup->getRouteKey(), ], 'title' => $targetgroup->title, 'images' => $targetgroup->images, 'description' => $targetgroup->description, 'slug' => $targetgroup->slug, 'user_id' => $targetgroup->user_id, 'deleted_at' => $targetgroup->deleted_at, 'url' => [ 'public' => trans_url('master/'.$targetgroup->getPublicKey()), 'user' => guard_url('master/targetgroup/'.$targetgroup->getRouteKey()), ], 'status' => trans('app.'.$targetgroup->status), 'created_at' => format_date($targetgroup->created_at), 'updated_at' => format_date($targetgroup->updated_at), ]; } }