getRequestType() public method

public getRequestType ( ) : string
return string request type, can be GET, POST, HEAD, or PUT
Esempio n. 1
0
 public function testGetRequestType()
 {
     $request = new THttpRequest();
     self::assertEquals('GET', $request->getRequestType());
 }