original_string: public function setCrossDomainPolicy($policy = self::ALL)
      {
          $this->checkValues($policy, [
              self::ALL,
              self::NONE,
              self::MASTER_ONLY,
              self::BY_CONTENT_TYPE,
              self::BY_FTP_FILENAME,
          ]);
          $this->headers['x-permitted-cross-domain-policies'] = $policy;
  
          return $this;
      }
code: public function setCrossDomainPolicy($policy = self::ALL)
      {
          $this->checkValues($policy, [
              self::ALL,
              self::NONE,
              self::MASTER_ONLY,
              self::BY_CONTENT_TYPE,
              self::BY_FTP_FILENAME,
          ]);
          $this->headers['x-permitted-cross-domain-policies'] = $policy;
  
          return $this;
      }
code_tokens: public function setCrossDomainPolicy ( $ policy = self :: ALL ) { $ this -> checkValues ( $ policy , [ self :: ALL , self :: NONE , self :: MASTER_ONLY , self :: BY_CONTENT_TYPE , self :: BY_FTP_FILENAME , ] ) ; $ this -> headers [ 'x-permitted-cross-domain-policies' ] = $ policy ; return $ this ; }
docstring: X-Permitted-Cross-Domain-Policies
  
  @link https://www.adobe.com/devnet/adobe-media-server/articles/cross-domain-xml-for-streaming.html
  @param string $policy Policy value. Available Values: 'all', 'none', 'master-only', 'by-content-type',
  'by-ftp-filename'
  @return $this
docstring_tokens: X - Permitted - Cross - Domain - Policies