$objects->getRouteKey(), 'key' => [ 'public' => $objects->getPublicKey(), 'route' => $objects->getRouteKey(), ], 'name' => $objects->name, 'description' => $objects->description, 'image' => $objects->image, 'slug' => $objects->slug, 'user_id' => $objects->user_id, 'user_type' => $objects->user_type, 'deleted_at' => $objects->deleted_at, 'url' => [ 'public' => trans_url('object/'.$objects->getPublicKey()), 'user' => guard_url('object/objects/'.$objects->getRouteKey()), ], 'status' => trans('app.'.$objects->status), 'created_at' => format_date($objects->created_at), 'updated_at' => format_date($objects->updated_at), ]; } }