Hello to all!
Today I stuck into to get the URI path in a controller.
It seems all earlier methods are depricated in Flow 5.2 (i.e. like $request->getBaseUri(), $request->getRelativePath(), …).
Ok, annotations saying use “UriHelper::getRelativePath()” and so on.
But above helper needs two parameters of type “UriInterface”.
Currently I have no idea how to implement this in my controller.
Does someone have some tipps? Or is there an other way to get this information?
Thanks!