getDescription() public method

Returns the reply code description sent by the server.
public getDescription ( ) : string
return string
示例#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());
 }