mutate($user, $villageId, function (Simulation $sim, Village $village, CarbonImmutable $now) use ($count) { Military::of($village, $sim)->levy($count, $now); }); } }