setMethod() 공개 메소드

Set the form method.
public setMethod ( string $method ) : Form
$method string
리턴 Form
예제 #1
0
 public function testSetAndGetMethod()
 {
     $f = new Form('/submit', 'post');
     $f->setMethod('get');
     $this->assertEquals('get', $f->getMethod());
 }