public function setSiteAccess(SiteAccess $siteAccess = null)
    {
        if ($siteAccess === null) {
            return;
        }

        $this->matchConfig = $this->configResolver->getParameter('block_view', 'ezsettings', $siteAccess->name);
    }
public function setSiteAccess(SiteAccess $siteAccess = null)
    {
        if ($siteAccess === null) {
            return;
        }

        $this->matchConfig = $this->configResolver->getParameter('block_view', 'ezsettings', $siteAccess->name);
    }
public function setSiteAccess ( SiteAccess $ siteAccess = null ) { if ( $ siteAccess === null ) { return ; } $ this -> matchConfig = $ this -> configResolver -> getParameter ( 'block_view' , 'ezsettings' , $ siteAccess -> name ) ; }
Changes internal configuration to use the one for passed SiteAccess.

@param SiteAccess $siteAccess
Changes internal configuration to use the one for passed SiteAccess .