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