getMethod() public method

Get the form method.
public getMethod ( ) : array
return array
Ejemplo n.º 1
0
 public function testSetAndGetMethod()
 {
     $f = new Form('/submit', 'post');
     $f->setMethod('get');
     $this->assertEquals('get', $f->getMethod());
 }