How to get the full path instead of basepath


How to resolve the pathFor() into a full path instead of just the basepath.


There really isn’t a built in way to handle this. See the following for some discussions about it and some possible workarounds.

Thanks, yes i did read those before. but did not found those back when i needed them.
I dont think this is an issue of the renderers like twig-view, but a issue in slim it self.

however after some code reviewing i found that the uri class has also the Method getBaseUrl() in my opinion that should be used to set the routers basepath. After i changed it the paths were correctly shown. everywhere.