Issues

ZF2-556: Undefined methods post() and query() in Zend\Form docs

Description

The documentation of Zend\Form refers to non-existing methods post() and query():

// Get the data. In an MVC application, you might try:
$data = $request->post();  // for POST data
$data = $request->query(); // for GET (or query string) data

The correct methods are getPost() and getQuery():

// Get the data. In an MVC application, you might try:
$data = $request->getPost();  // for POST data
$data = $request->getQuery(); // for GET (or query string) data

Comments

Fixed on the master branch of zf2-documentation. Thanks!