https://docs.phalcon.io/en/latest/api/Phalcon_Mvc_Router.html
I want to manage optional query param in URL
$router->add(
"/test/filter/?{name:param}",
array(
"controller" => "test",
"action" => "filter"
)
);
Not sure hot to really set an optional params in URI, by I want to make both endpoints valid
ENDPOINTS test/filter test/filter?name=johndoe