original_string: public function setHeaders($headers) 
      {
  
         if(!$this->_parserObj) {
             $this->initParser($this->getRespondType());
  
          }
  
          /** @var array  _headers */
          $this->_headers = $this->getParser()->getHeaders();
          $this->_headers = array_merge($this->_headers,$headers);
      }
code: public function setHeaders($headers) 
      {
  
         if(!$this->_parserObj) {
             $this->initParser($this->getRespondType());
  
          }
  
          /** @var array  _headers */
          $this->_headers = $this->getParser()->getHeaders();
          $this->_headers = array_merge($this->_headers,$headers);
      }
code_tokens: public function setHeaders ( $ headers ) { if ( ! $ this -> _parserObj ) { $ this -> initParser ( $ this -> getRespondType ( ) ) ; } /** @var array  _headers */ $ this -> _headers = $ this -> getParser ( ) -> getHeaders ( ) ; $ this -> _headers = array_merge ( $ this -> _headers , $ headers ) ; }
docstring: set the headers array base on which paser we are using
  @param array $headers extra headers
docstring_tokens: set the headers array base on which paser we are using