argument('bid'); $enBid = Hashids::encode($bid); $enHotBids = array_map(function ($bid) { return Utils::getEncodeId($bid); }, [$bid]); dd($bid, $enBid, $enHotBids); } }