src/Ratchet/Server/FlashPolicy.php
public function setSiteControl($permittedCrossDomainPolicies = 'all') {
        if (!$this->validateSiteControl($permittedCrossDomainPolicies)) {
            throw new \UnexpectedValueException('Invalid site control set');
        }

        $this->_siteControl = $permittedCrossDomainPolicies;
        $this->_cacheValid  = false;

        return $this;
    }
public function setSiteControl($permittedCrossDomainPolicies = 'all') {
        if (!$this->validateSiteControl($permittedCrossDomainPolicies)) {
            throw new \UnexpectedValueException('Invalid site control set');
        }

        $this->_siteControl = $permittedCrossDomainPolicies;
        $this->_cacheValid  = false;

        return $this;
    }
public function setSiteControl ( $ permittedCrossDomainPolicies = 'all' ) { if ( ! $ this -> validateSiteControl ( $ permittedCrossDomainPolicies ) ) { throw new \ UnexpectedValueException ( 'Invalid site control set' ) ; } $ this -> _siteControl = $ permittedCrossDomainPolicies ; $ this -> _cacheValid = false ; return $ this ; }
site-control defines the meta-policy for the current domain. A meta-policy specifies acceptable
domain policy files other than the master policy file located in the target domain's root and named
crossdomain.xml.

@param string $permittedCrossDomainPolicies
@throws \UnexpectedValueException
@return FlashPolicy
site - control defines the meta - policy for the current domain . A meta - policy specifies acceptable domain policy files other than the master policy file located in the target domain s root and named crossdomain . xml .