Generate a URL with GET arguments (/show/products?id=1&name=Carrots)
echo $url->get("show/products", ["id" => 1,"name" => "Carrots",]);
In the documentation i did not find anything about pass an array [$param1,$param2] that match with a Action. Has some way to do it withou extend the interface?
I think can has a flag or if the key isnt numeric
! count(array_filter(array_keys($args), 'is_string')) > 0
Has some way to it be a native component or some flag to modify the behavior. Maybe another method
To be clear i already did it based on numeric keys presence, but if could do native i think will be better and fast.