slimphp / Slim-Http

A set of PSR-7 object decorators providing useful convenience methods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uri is not decorated

MrPropre opened this issue · 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 !

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