Slim-Http icon indicating copy to clipboard operation
Slim-Http copied to clipboard

Uri is not decorated

Open MrPropre opened this issue 1 year ago • 2 comments

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());

image

Thank you in advance !

MrPropre avatar Aug 09 '23 15:08 MrPropre

Please show a reproducible example of this with code with a minimal app setup.

l0gicgate avatar Oct 03 '23 05:10 l0gicgate