title: How to get $id from url parameter in Laminas?
body: <p>if i have url like: <a href="http://localhost/customer/view/7" rel="nofollow noreferrer">http://localhost/customer/view/7</a></p>
  
  <p>'route' => '/customer[/:action[/:id]]'</p>
  
  <p>I want to get 7 as $id for my editAction() but i cant use </p>
  
  <p>$id = (int) $this->params()->fromRoute('id' , '0');</p>
  
  <p>So how can i get it? Thank you</p>