isPut() public static method

Is this a PUT method request?
public static isPut ( ) : boolean
return boolean
Exemplo n.º 1
0
 /**
  * Test `Is` Methods
  */
 public function testIsMethods()
 {
     $this->assertTrue(Request::isGet());
     $this->assertFalse(Request::isPost());
     $this->assertFalse(Request::isPut());
     $this->assertFalse(Request::isDelete());
     $this->assertFalse(Request::isFlashRequest());
     $this->assertFalse(Request::isXmlHttpRequest());
 }