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