private function setExceptionRendererVars(Request $request)
    {
        $this->exceptionRenderer->setRequest($request);

        if ($this->container->hasBinding(ICompiler::class)) {
            $this->exceptionRenderer->setViewCompiler($this->container->resolve(ICompiler::class));
        }

        if ($this->container->hasBinding(IViewFactory::class)) {
            $this->exceptionRenderer->setViewFactory($this->container->resolve(IViewFactory::class));
        }
    }
private function setExceptionRendererVars(Request $request)
    {
        $this->exceptionRenderer->setRequest($request);

        if ($this->container->hasBinding(ICompiler::class)) {
            $this->exceptionRenderer->setViewCompiler($this->container->resolve(ICompiler::class));
        }

        if ($this->container->hasBinding(IViewFactory::class)) {
            $this->exceptionRenderer->setViewFactory($this->container->resolve(IViewFactory::class));
        }
    }
private function setExceptionRendererVars ( Request $ request ) { $ this -> exceptionRenderer -> setRequest ( $ request ) ; if ( $ this -> container -> hasBinding ( ICompiler :: class ) ) { $ this -> exceptionRenderer -> setViewCompiler ( $ this -> container -> resolve ( ICompiler :: class ) ) ; } if ( $ this -> container -> hasBinding ( IViewFactory :: class ) ) { $ this -> exceptionRenderer -> setViewFactory ( $ this -> container -> resolve ( IViewFactory :: class ) ) ; } }
Sets the variables in the exception renderer

@param Request $request The current HTTP request
Sets the variables in the exception renderer