setReasonPhrase() public method

If no Reason-Phrase is specified, implementations MAY choose to default to the RFC 2616 recommended reason phrase for the response's Status-Code.
public setReasonPhrase ( string $phrase )
$phrase string the Reason-Phrase to set.
Example #1
0
 /**
  * Test initial values of Response properties
  */
 public function testSetGetReasonPhrase()
 {
     $this->response->setReasonPhrase('OK');
     $this->assertEquals('OK', $this->response->getReasonPhrase());
 }