function withRequestOnMatch(RequestInterface $request)
    {
        $requestTarget = $request->getRequestTarget();
        $requestTarget = new StdString($requestTarget);
        $requestTarget = $requestTarget->stripPrefix( rtrim($this->_stripPrefix, '/') );
        $request       = $request->withRequestTarget( (string) $requestTarget );

        return $request;
    }
function withRequestOnMatch(RequestInterface $request)
    {
        $requestTarget = $request->getRequestTarget();
        $requestTarget = new StdString($requestTarget);
        $requestTarget = $requestTarget->stripPrefix( rtrim($this->_stripPrefix, '/') );
        $request       = $request->withRequestTarget( (string) $requestTarget );

        return $request;
    }
function withRequestOnMatch ( RequestInterface $ request ) { $ requestTarget = $ request -> getRequestTarget ( ) ; $ requestTarget = new StdString ( $ requestTarget ) ; $ requestTarget = $ requestTarget -> stripPrefix ( rtrim ( $ this -> _stripPrefix , '/' ) ) ; $ request = $ request -> withRequestTarget ( ( string ) $ requestTarget ) ; return $ request ; }
Prepare Request Object

@param RequestInterface $request

@return RequestInterface Clone
Prepare Request Object