original_string: public function userWithPass($username, $password)
      {
          $header = base64_encode(sprintf('%s:%s', $username, $password));
  
          $this->headers['Authorization'] = 'Basic ' . $header;
      }
code: public function userWithPass($username, $password)
      {
          $header = base64_encode(sprintf('%s:%s', $username, $password));
  
          $this->headers['Authorization'] = 'Basic ' . $header;
      }
code_tokens: public function userWithPass ( $ username , $ password ) { $ header = base64_encode ( sprintf ( '%s:%s' , $ username , $ password ) ) ; $ this -> headers [ 'Authorization' ] = 'Basic ' . $ header ; }
docstring: Set the username and password for send request
  
  @Given /^user "([^"]+)" with pass "([^"]+)"$/
  
  @param string $username
  @param string $password
docstring_tokens: Set the username and password for send request