original_string: public function setCost($cost)
      {
          if ($cost < 4 || $cost > 31) {
              throw new \InvalidArgumentException(sprintf("Invalid bcrypt cost parameter specified: %s", $cost));
          }
          $this->cost = $cost;
          return $this;
      }
code: public function setCost($cost)
      {
          if ($cost < 4 || $cost > 31) {
              throw new \InvalidArgumentException(sprintf("Invalid bcrypt cost parameter specified: %s", $cost));
          }
          $this->cost = $cost;
          return $this;
      }
code_tokens: public function setCost ( $ cost ) { if ( $ cost < 4 || $ cost > 31 ) { throw new \ InvalidArgumentException ( sprintf ( "Invalid bcrypt cost parameter specified: %s" , $ cost ) ) ; } $ this -> cost = $ cost ; return $ this ; }
docstring: Set the cost parameter for bcrypt
  
  @param int $cost
  @return $this
  @throws \InvalidArgumentException
docstring_tokens: Set the cost parameter for bcrypt