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