how can i get the params form a url , example :
$url = "localhost/controller/action/param1/param2"; // a manual url i need to get params
$this->dispatcher->getParams(); // returns all in array ( need somthing like this )
how can i get the params form a url , example :
$url = "localhost/controller/action/param1/param2"; // a manual url i need to get params
$this->dispatcher->getParams(); // returns all in array ( need somthing like this )