$infobject->getRouteKey(), 'key' => [ 'public' => $infobject->getPublicKey(), 'route' => $infobject->getRouteKey(), ], 'brand_id' => $infobject->brand_id, 'category_id' => $infobject->category_id, 'objects' => $infobject->objects, 'headline' => $infobject->headline, 'information' => $infobject->information, 'expirydate' => $infobject->expirydate, 'deleted_at' => $infobject->deleted_at, 'url' => [ 'public' => trans_url('infobject/'.$infobject->getPublicKey()), 'user' => guard_url('infobject/infobject/'.$infobject->getRouteKey()), ], 'status' => trans('app.'.$infobject->status), 'created_at' => format_date($infobject->created_at), 'updated_at' => format_date($infobject->updated_at), ]; } }