I am new in zf2 and I want to get parameter from url. But when I write
if($this->getRequest()->isGet()) {
$get = $this->params()->fromQuery();
}
print_r($get);
in controller it returns empty array. How I get parameter from url? Here is my url:
http://test.zeptosystems.com/event/create/46/1396465200/1
I want to get 46. How can I get this parameter?