Appends removeAces parameters to url

@param Url $url
@param AclInterface|null $removeAces A list of ACEs
422362
protected function appendRemoveAcesToUrl(Url $url, AclInterface $removeAces = null)
    {
        if ($removeAces !== null) {
            $url->getQuery()->modify(
                $this->convertAclToQueryArray(
                    $removeAces,
                    Constants::CONTROL_REMOVE_ACE_PRINCIPAL,
                    Constants::CONTROL_REMOVE_ACE_PERMISSION
                )
            );
        }
    }
58921
public function setHost($url)
    {
        if (filter_var($url, FILTER_VALIDATE_URL) === false) {
            throw new \InvalidArgumentException('Invalid Host URL');
        }

        $this->host = $url;
    }
919300
public void removeNameUrl(final String name, final String url) 
	throws IOException {
		// need to first see if there is already an entry for this name.
		// if not, do nothing
		// if so, loop thru all current url locations for name
		//     keep any that are not url
		// if any locations are left, update to the new value, sans url
		// if none are left, remove the entry from the db
		
		StringBuilder newValue = new StringBuilder();
		String oldValue = get(name);
		if(oldValue != null && oldValue.length() > 0) {
			String curUrls[] = oldValue.split(urlDelimiterRE);

			for(int i=0; i < curUrls.length; i++) {
				if(!url.equals(curUrls[i])) {
					if(newValue.length() > 0) {
						newValue.append(urlDelimiter);
					}
					newValue.append(curUrls[i]);
				}
			}
			
			if(newValue.length() > 0) {
				
				// update
				put(name, newValue.toString());
				
			} else {
				
				// remove the entry:
				delete(name);
			}
		}
	}
1221066
protected function removePageQueryFromUrl($url)
    {
        $parts = parse_url($url);

        $query = preg_replace('#page=\d+&?#i', '', array_get($parts, 'query', ''));

        return array_get($parts, 'path') . ($query ? '?' . $query : null);
    }
899699
public static function appendUrlParams($url,$appendParams=[])
    {
        if(empty($appendParams)){
            return $url;
        }
        $paramString="";
        foreach ($appendParams as $key => $value){
            $paramString.="&".$key."=".urlencode($value);
        }
        $paramString=substr($paramString, 1);

        $pos=strpos($url, "?");
        if($pos>0 || $pos===0){
            $url.="&".$paramString;
        }else{
            $url.="?".$paramString;
        }
        return $url;
    }
998121
public function rmdir($url, $options)
  {
    $partition = self::getPartition($url);
    $path = self::getRelativePath($url);

    return !!$partition->removeDirectory($path, $options);
  }
170160
public function reset($url) {
        $path = $this->url->relativePath($url);
        $this->storage->deleteCrops($path);
    }
240223
public function remove( $args, $assoc_args ) {

		list( $menu, $location ) = $args;

		$menu = wp_get_nav_menu_object( $menu );
		if ( ! $menu || is_wp_error( $menu ) ) {
			WP_CLI::error( 'Invalid menu.' );
		}

		$locations = get_nav_menu_locations();
		if ( Utils\get_flag_value( $locations, $location ) !== $menu->term_id ) {
			WP_CLI::error( "Menu isn't assigned to location." );
		}

		$locations[ $location ] = 0;
		set_theme_mod( 'nav_menu_locations', $locations );

		WP_CLI::success( 'Removed location from menu.' );

	}
914144
private function removeService(array $service, string $url)
    {
        $options = [
            'json' => $service,
        ];

        $httpClient = new Client();
        $result = $httpClient->put($url, $options)->getResult();
        if(empty($result)){
            output()->writeln(sprintf('<success>RPC deregister service success by consul ! tcp=%s:%d</success>', $this->registerAddress, $this->registerPort));
        }
    }
1303583
public function delete($url, array $params = [])
    {
        return $this->request($this->createUrl($url), self::METHOD_DELETE, $params);
    }
276780
public function deletePushUrl($name, $url)
    {
        $this->arguments[] = 'set-url';
        $this->arguments[] = '--delete';
        $this->arguments[] = '--push';
        $this->arguments[] = $name;
        $this->arguments[] = $url;
        return $this;
    }
1047672
public static function logoutWithUrl($url)
    {
        trigger_error('Function deprecated for cas servers >= 3.3.5.1', E_USER_DEPRECATED);
        phpCAS :: traceBegin();
        if (!is_object(self::$_PHPCAS_CLIENT)) {
            phpCAS :: error('this method should only be called after ' . __CLASS__ . '::client() or' . __CLASS__ . '::proxy()');
        }
        if (!is_string($url)) {
            phpCAS :: error('type mismatched for parameter $url (should be `string\')');
        }
        self::$_PHPCAS_CLIENT->logout(array ( "url" => $url ));
        // never reached
        phpCAS :: traceEnd();
    }
598924
protected function appendParametersToUrl($url, array $parameters = array(), array $options = array())
    {
        $url = rtrim($url, '?');
        $queryString = $this->prepareQueryParams($parameters, $options);

        if ($queryString) {
            $uri = new Uri($url);
            $existingQuery = $uri->getQuery();
            $updatedQuery = empty($existingQuery) ? $queryString : $existingQuery . '&' . $queryString;
            $url = (string) $uri->withQuery($updatedQuery);
        }

        return $url;
    }
600122
public function delete($url, $parameters = []) {
        $this->setRequestMethod('DELETE');
        $this->setURL($this->buildURL($url, $parameters));

        return $this->run();
    }
815999
private function _onDisabled($url,$options ){
		$onDisabled = $options['onDisabled'];
		unset($options['onDisabled']);
		
		
		if ($onDisabled === true) {
			$url = false;
			$options = $this->addClass($options,'disabled');
			$exit = true;
		}
	
		return array($url, $options);	
	}
712364
private static function cleanUrl($url)
    {
        $result = '';
        $inner = false;

        for ($i = 0; $i < strlen($url); $i++) {
            if (!$inner) {
                if ($url[$i] != '{') {
                    $result .= $url[$i];
                } else {
                    $result .= '{';
                    $inner = true;
                }
            } else {
                if ($url[$i] == '}') {
                    $result .= '}';
                    $inner = false;
                }
            }
        }

        return $result;
    }
633985
public function unlink($url)
  {
    $partition = self::getPartition($url);
    $path = self::getRelativePath($url);

    return !!$partition->deleteFile($path);
  }