setDescription() public method

Sets the reply code description sent by the server.
public setDescription ( string $description ) : Phergie_Event_Response
$description string Reply code description
return Phergie_Event_Response Provides a fluent interface
示例#1
0
 /**
  * Tests that the event response description can be changed.
  *
  * @return void
  */
 public function testSetDescription()
 {
     $description = 'No such nick';
     $this->event->setDescription($description);
     $this->assertSame($description, $this->event->getDescription());
 }