setSiteAccess() public method

public setSiteAccess ( SiteAccess $siteAccess = null )
$siteAccess eZ\Publish\Core\MVC\Symfony\SiteAccess
 /**
  * @param string $defaultNS
  * @param int $undefinedStrategy
  * @param array $groupsBySiteAccess
  *
  * @return \eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ConfigResolver
  */
 private function getResolver($defaultNS = 'ezsettings', $undefinedStrategy = ConfigResolver::UNDEFINED_STRATEGY_EXCEPTION, array $groupsBySiteAccess = array())
 {
     $configResolver = new ConfigResolver($groupsBySiteAccess, $defaultNS, $undefinedStrategy);
     $configResolver->setSiteAccess($this->siteAccess);
     $configResolver->setContainer($this->containerMock);
     return $configResolver;
 }