php/WP_CLI/WpHttpCacheManager.php
public function whitelist_package( $url, $group, $slug, $version, $ttl = null ) {
		$ext = pathinfo( Utils\parse_url( $url, PHP_URL_PATH ), PATHINFO_EXTENSION );
		$key = "$group/$slug-$version.$ext";
		$this->whitelist_url( $url, $key, $ttl );
		wp_update_plugins();
	}
public function whitelist_package( $url, $group, $slug, $version, $ttl = null ) {
		$ext = pathinfo( Utils\parse_url( $url, PHP_URL_PATH ), PATHINFO_EXTENSION );
		$key = "$group/$slug-$version.$ext";
		$this->whitelist_url( $url, $key, $ttl );
		wp_update_plugins();
	}
public function whitelist_package ( $ url , $ group , $ slug , $ version , $ ttl = null ) { $ ext = pathinfo ( Utils \ parse_url ( $ url , PHP_URL_PATH ) , PATHINFO_EXTENSION ) ; $ key = "$group/$slug-$version.$ext" ; $ this -> whitelist_url ( $ url , $ key , $ ttl ) ; wp_update_plugins ( ) ; }
whitelist a package url

@param string $url
@param string $group   package group (themes, plugins, ...)
@param string $slug    package slug
@param string $version package version
@param int    $ttl
whitelist a package url