public function restoreConfigScope()
    {
        $event = new ScopeChangeEvent($this->originalSiteAccess);
        $this->eventDispatcher->dispatch(MVCEvents::CONFIG_SCOPE_RESTORE, $event);

        return $event->getSiteAccess();
    }
public function restoreConfigScope()
    {
        $event = new ScopeChangeEvent($this->originalSiteAccess);
        $this->eventDispatcher->dispatch(MVCEvents::CONFIG_SCOPE_RESTORE, $event);

        return $event->getSiteAccess();
    }
public function restoreConfigScope ( ) { $ event = new ScopeChangeEvent ( $ this -> originalSiteAccess ) ; $ this -> eventDispatcher -> dispatch ( MVCEvents :: CONFIG_SCOPE_RESTORE , $ event ) ; return $ event -> getSiteAccess ( ) ; }
Restores original config scope.

@return SiteAccess
Restores original config scope .