getCode() 공개 메소드

public getCode ( ) : integer
리턴 integer
예제 #1
0
 public function testBasicUsage()
 {
     $status = new Http\Status(200);
     $this->assertEquals($status->getCode(), 200);
     $this->assertEquals($status->getMessage(), 'OK');
     $this->assertEquals($status->getStatusLine(), "HTTP/1.1 200 OK\r\n");
 }