FluidTYPO3\Vhs\ViewHelpers\Media\Image\AbstractImageViewHelper::resetFrontendEnvironment PHP Method

resetFrontendEnvironment() protected method

Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment()
See also: simulateFrontendEnvironment()
protected resetFrontendEnvironment ( ) : void
return void
    protected function resetFrontendEnvironment()
    {
        $GLOBALS['TSFE'] = $this->tsfeBackup;
        chdir($this->workingDirectoryBackup);
    }