(First, sorry for my poor English.)
Recently I faced a tiny problem. I want to build URI/URL with my static assets, like below codes.
$container->router->pathFor('static', ['path' => 'a.css'], ['absolute' => true])
But, there is no way to do(without overriding/customizing default Router). Once I used Flask, there is a function for routing url_for() supports static routing. And I thought both have same concept for url routing.
Is there any plan for support static routing in pathFor()? (And thanks for your patience :smile: )
Not currently no, but we are open to PRs :)
Thanks! And, do you feel the pseudo code follows your design policy?
Yes this would be a helpful feature.
This may be related to https://github.com/slimphp/Slim/pull/2493 ?
Closing as there's been no movement on this one and I'm unclear what is being asked for.
Please create a new issue with detailed information if necessary.
Most helpful comment
Yes this would be a helpful feature.