original_string: protected function appendAddAcesToUrl(Url $url, AclInterface $addAces = null)
      {
          if ($addAces !== null) {
              $url->getQuery()->modify(
                  $this->convertAclToQueryArray(
                      $addAces,
                      Constants::CONTROL_ADD_ACE_PRINCIPAL,
                      Constants::CONTROL_ADD_ACE_PERMISSION
                  )
              );
          }
      }
code: protected function appendAddAcesToUrl(Url $url, AclInterface $addAces = null)
      {
          if ($addAces !== null) {
              $url->getQuery()->modify(
                  $this->convertAclToQueryArray(
                      $addAces,
                      Constants::CONTROL_ADD_ACE_PRINCIPAL,
                      Constants::CONTROL_ADD_ACE_PERMISSION
                  )
              );
          }
      }
code_tokens: protected function appendAddAcesToUrl ( Url $ url , AclInterface $ addAces = null ) { if ( $ addAces !== null ) { $ url -> getQuery ( ) -> modify ( $ this -> convertAclToQueryArray ( $ addAces , Constants :: CONTROL_ADD_ACE_PRINCIPAL , Constants :: CONTROL_ADD_ACE_PERMISSION ) ) ; } }
docstring: Appends addAces parameters to url
  
  @param Url $url
  @param AclInterface|null $addAces A list of ACEs
docstring_tokens: Appends addAces parameters to url