original_string: private function resetBetStacks()
      {
          $this->players()->each(function (PlayerContract $player) {
              $this->betStacks->put($player->name(), Chips::zero());
          });
      }
code: private function resetBetStacks()
      {
          $this->players()->each(function (PlayerContract $player) {
              $this->betStacks->put($player->name(), Chips::zero());
          });
      }
code_tokens: private function resetBetStacks ( ) { $ this -> players ( ) -> each ( function ( PlayerContract $ player ) { $ this -> betStacks -> put ( $ player -> name ( ) , Chips :: zero ( ) ) ; } ) ; }
docstring: Reset the chip stack for all players.
docstring_tokens: Reset the chip stack for all players .