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