$plan_settings->getRouteKey(), 'key' => [ 'public' => $plan_settings->getPublicKey(), 'route' => $plan_settings->getRouteKey(), ], 'name' => $plan_settings->name, 'min_investment' => $plan_settings->min_investment, 'max_investment' => $plan_settings->max_investment, 'duration' => $plan_settings->duration, 'description' => $plan_settings->description, 'features' => $plan_settings->features, 'status' => $plan_settings->status, 'url' => [ 'public' => trans_url('plan_settting/'.$plan_settings->getPublicKey()), 'user' => guard_url('plan_settting/plan_settings/'.$plan_settings->getRouteKey()), ], 'status' => trans('app.'.$plan_settings->status), 'created_at' => format_date($plan_settings->created_at), 'updated_at' => format_date($plan_settings->updated_at), ]; } }