A set of PSR-7 object decorators providing useful convenience methods
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
MrPropre opened this issue a year ago · 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.
Uri::getBaseUrl
$request->getUri()
Slim/Psr7/Uri
Slim/Http/Uri
dump($request, $request->getUri());
Thank you in advance !
Please show a reproducible example of this with code with a minimal app setup.