$phoneproviders->getRouteKey(), 'key' => [ 'public' => $phoneproviders->getPublicKey(), 'route' => $phoneproviders->getRouteKey(), ], 'name' => $phoneproviders->name, 'description' => $phoneproviders->description, 'image' => $phoneproviders->image, 'link' => $phoneproviders->link, 'url' => [ 'public' => trans_url('phoneprovider/'.$phoneproviders->getPublicKey()), 'user' => guard_url('phoneprovider/phoneproviders/'.$phoneproviders->getRouteKey()), ], 'status' => trans('app.'.$phoneproviders->status), 'created_at' => format_date($phoneproviders->created_at), 'updated_at' => format_date($phoneproviders->updated_at), ]; } }