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