protected function appendPoliciesToUrl(Url $url, array $policies)
    {
        if (!empty($policies)) {
            $url->getQuery()->modify($this->convertPolicyIdArrayToQueryArray($policies));
        }
    }
protected function appendPoliciesToUrl(Url $url, array $policies)
    {
        if (!empty($policies)) {
            $url->getQuery()->modify($this->convertPolicyIdArrayToQueryArray($policies));
        }
    }
protected function appendPoliciesToUrl ( Url $ url , array $ policies ) { if ( ! empty ( $ policies ) ) { $ url -> getQuery ( ) -> modify ( $ this -> convertPolicyIdArrayToQueryArray ( $ policies ) ) ; } }
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
Appends policies parameters to url