$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('infobjects/'.$infobject->getPublicKey()), 'user' => guard_url('infobjects/infobject/'.$infobject->getRouteKey()), ], 'status' => trans('app.'.$infobject->status), 'created_at' => format_date($infobject->created_at), 'updated_at' => format_date($infobject->updated_at), ]; } }