Laminas request in detail

How to access route, post, get etc. parameters in Laminas Framework , Formally known as Laminas framework.

$this->params()->fromPost('paramname');   // From POST

$this->params()->fromQuery('paramname');  // From GET

$this->params()->fromRoute('paramname');  // From RouteMatch

$this->params()->fromHeader('paramname'); // From header

$this->params()->fromFiles('paramname');  // From file being uploaded