original_string: public function addHeaders (array $headers)
      {
          if ($this->_sent) {
              throw new CAS_OutOfSequenceException(
                  'Request has already been sent cannot '.__METHOD__
              );
          }
  
          $this->headers = array_merge($this->headers, $headers);
      }
code: public function addHeaders (array $headers)
      {
          if ($this->_sent) {
              throw new CAS_OutOfSequenceException(
                  'Request has already been sent cannot '.__METHOD__
              );
          }
  
          $this->headers = array_merge($this->headers, $headers);
      }
code_tokens: public function addHeaders ( array $ headers ) { if ( $ this -> _sent ) { throw new CAS_OutOfSequenceException ( 'Request has already been sent cannot ' . __METHOD__ ) ; } $ this -> headers = array_merge ( $ this -> headers , $ headers ) ; }
docstring: Add an array of header strings to the request.
  
  @param array $headers headers to add
  
  @return void
  @throws CAS_OutOfSequenceException If called after the Request has been sent.
docstring_tokens: Add an array of header strings to the request .