original_string: private static function __getCloudFrontInvalidationBatchXML($paths, $callerReference = '0')
  	{
  		$dom = new DOMDocument('1.0', 'UTF-8');
  		$dom->formatOutput = true;
  		$invalidationBatch = $dom->createElement('InvalidationBatch');
  		foreach ($paths as $path)
  			$invalidationBatch->appendChild($dom->createElement('Path', $path));
  
  		$invalidationBatch->appendChild($dom->createElement('CallerReference', $callerReference));
  		$dom->appendChild($invalidationBatch);
  		return $dom->saveXML();
  	}
code: private static function __getCloudFrontInvalidationBatchXML($paths, $callerReference = '0')
  	{
  		$dom = new DOMDocument('1.0', 'UTF-8');
  		$dom->formatOutput = true;
  		$invalidationBatch = $dom->createElement('InvalidationBatch');
  		foreach ($paths as $path)
  			$invalidationBatch->appendChild($dom->createElement('Path', $path));
  
  		$invalidationBatch->appendChild($dom->createElement('CallerReference', $callerReference));
  		$dom->appendChild($invalidationBatch);
  		return $dom->saveXML();
  	}
code_tokens: private static function __getCloudFrontInvalidationBatchXML ( $ paths , $ callerReference = '0' ) { $ dom = new DOMDocument ( '1.0' , 'UTF-8' ) ; $ dom -> formatOutput = true ; $ invalidationBatch = $ dom -> createElement ( 'InvalidationBatch' ) ; foreach ( $ paths as $ path ) $ invalidationBatch -> appendChild ( $ dom -> createElement ( 'Path' , $ path ) ) ; $ invalidationBatch -> appendChild ( $ dom -> createElement ( 'CallerReference' , $ callerReference ) ) ; $ dom -> appendChild ( $ invalidationBatch ) ; return $ dom -> saveXML ( ) ; }
docstring: Get a InvalidationBatch DOMDocument
  
  @internal Used to create XML in invalidateDistribution()
  @param array $paths Paths to objects to invalidateDistribution
  @param int $callerReference
  @return string
docstring_tokens: Get a InvalidationBatch DOMDocument