Slim-Http
Slim-Http copied to clipboard
Uri is not decorated
Hello,
I wanted to use Uri::getBaseUrl
from the decorated UriInterface but it is not defined. When I use $request->getUri()
, the returned object is an instance of Slim/Psr7/Uri
, I think it should be Slim/Http/Uri
instead.
dump($request, $request->getUri());
Thank you in advance !
Please show a reproducible example of this with code with a minimal app setup.