getMethod() публичный Метод

Get the form method.
public getMethod ( ) : array
Результат array
Пример #1
0
 public function testSetAndGetMethod()
 {
     $f = new Form('/submit', 'post');
     $f->setMethod('get');
     $this->assertEquals('get', $f->getMethod());
 }