original_string: protected function appendPoliciesToUrl(Url $url, array $policies)
      {
          if (!empty($policies)) {
              $url->getQuery()->modify($this->convertPolicyIdArrayToQueryArray($policies));
          }
      }
code: protected function appendPoliciesToUrl(Url $url, array $policies)
      {
          if (!empty($policies)) {
              $url->getQuery()->modify($this->convertPolicyIdArrayToQueryArray($policies));
          }
      }
code_tokens: protected function appendPoliciesToUrl ( Url $ url , array $ policies ) { if ( ! empty ( $ policies ) ) { $ url -> getQuery ( ) -> modify ( $ this -> convertPolicyIdArrayToQueryArray ( $ policies ) ) ; } }
docstring: Appends policies parameters to url
  
  @param Url $url
  @param string[] $policies A list of policy IDs that must be applied to the newly created document object
docstring_tokens: Appends policies parameters to url