$button_settings->getRouteKey(), 'key' => [ 'public' => $button_settings->getPublicKey(), 'route' => $button_settings->getRouteKey(), ], 'button_keyword' => $button_settings->button_keyword, 'button_heading' => $button_settings->button_heading, 'show_button_key' => $button_settings->show_button_key, 'url' => [ 'public' => trans_url('button_setting/'.$button_settings->getPublicKey()), 'user' => guard_url('button_setting/button_settings/'.$button_settings->getRouteKey()), ], 'status' => trans('app.'.$button_settings->status), 'created_at' => format_date($button_settings->created_at), 'updated_at' => format_date($button_settings->updated_at), ]; } }