public function setBaseRequest(ServerRequestInterface $request)
    {
        if ($request instanceof GlobalEnvironmentInterface && $request->isStale()) {
            throw new \RuntimeException("Unable to set base request: ServerRequest is stale");
        }
        
        $this->baseRequest = $request;
    }
public function setBaseRequest(ServerRequestInterface $request)
    {
        if ($request instanceof GlobalEnvironmentInterface && $request->isStale()) {
            throw new \RuntimeException("Unable to set base request: ServerRequest is stale");
        }
        
        $this->baseRequest = $request;
    }
public function setBaseRequest ( ServerRequestInterface $ request ) { if ( $ request instanceof GlobalEnvironmentInterface && $ request -> isStale ( ) ) { throw new \ RuntimeException ( "Unable to set base request: ServerRequest is stale" ) ; } $ this -> baseRequest = $ request ; }
Set the base request

@param ServerRequestInterface $request
Set the base request