$addon->getRouteKey(), 'key' => [ 'public' => $addon->getPublicKey(), 'route' => $addon->getRouteKey(), ], 'admin_user_login' => $addon->admin_user_login, 'add_bank' => $addon->add_bank, 'hide_compound_rate' => $addon->hide_compound_rate, 'provide_google_authentication' => $addon->provide_google_authentication, 'url' => [ 'public' => trans_url('addon/'.$addon->getPublicKey()), 'user' => guard_url('addon/addon/'.$addon->getRouteKey()), ], 'status' => trans('app.'.$addon->status), 'created_at' => format_date($addon->created_at), 'updated_at' => format_date($addon->updated_at), ]; } }