getMessage() public method

The message associated with, but not including, the status code.
public getMessage ( ) : string
return string
示例#1
0
 public function testTeaPot()
 {
     $status = new Http\Status(418);
     $this->assertEquals($status->getMessage(), "I'm a Teapot");
 }