original_string: public function addCookie ($name, $value)
      {
          if ($this->_sent) {
              throw new CAS_OutOfSequenceException(
                  'Request has already been sent cannot '.__METHOD__
              );
          }
  
          $this->cookies[$name] = $value;
      }
code: public function addCookie ($name, $value)
      {
          if ($this->_sent) {
              throw new CAS_OutOfSequenceException(
                  'Request has already been sent cannot '.__METHOD__
              );
          }
  
          $this->cookies[$name] = $value;
      }
code_tokens: public function addCookie ( $ name , $ value ) { if ( $ this -> _sent ) { throw new CAS_OutOfSequenceException ( 'Request has already been sent cannot ' . __METHOD__ ) ; } $ this -> cookies [ $ name ] = $ value ; }
docstring: Add a cookie to the request.
  
  @param string $name  Name of entry
  @param string $value value of entry
  
  @return void
  @throws CAS_OutOfSequenceException If called after the Request has been sent.
docstring_tokens: Add a cookie to the request .