getRequestType() public method

public getRequestType ( ) : string
return string request type, can be GET, POST, HEAD, or PUT
コード例 #1
0
ファイル: THttpRequestTest.php プロジェクト: pradosoft/prado
 public function testGetRequestType()
 {
     $request = new THttpRequest();
     self::assertEquals('GET', $request->getRequestType());
 }