isMethodIdempotent() public method

Checks whether or not the method is idempotent.
public isMethodIdempotent ( ) : boolean
return boolean
Example #1
0
 /**
  * @dataProvider methodIdempotentProvider
  */
 public function testMethodIdempotent($method, $idempotent)
 {
     $request = new Request();
     $request->setMethod($method);
     $this->assertEquals($idempotent, $request->isMethodIdempotent());
 }