original_string: private function setupLeftToAct()
      {
          if ($this->players()->count() === 2) {
              $this->leftToAct = $this->leftToAct()->setup($this->players());
  
              return;
          }
  
          $this->leftToAct = $this->leftToAct
              ->setup($this->players())
              ->resetPlayerListFromSeat($this->table()->button() + 1);
      }
code: private function setupLeftToAct()
      {
          if ($this->players()->count() === 2) {
              $this->leftToAct = $this->leftToAct()->setup($this->players());
  
              return;
          }
  
          $this->leftToAct = $this->leftToAct
              ->setup($this->players())
              ->resetPlayerListFromSeat($this->table()->button() + 1);
      }
code_tokens: private function setupLeftToAct ( ) { if ( $ this -> players ( ) -> count ( ) === 2 ) { $ this -> leftToAct = $ this -> leftToAct ( ) -> setup ( $ this -> players ( ) ) ; return ; } $ this -> leftToAct = $ this -> leftToAct -> setup ( $ this -> players ( ) ) -> resetPlayerListFromSeat ( $ this -> table ( ) -> button ( ) + 1 ) ; }
docstring: Reset the leftToAct collection.
docstring_tokens: Reset the leftToAct collection .