Automattic\WooCommerce\Internal\Utilities
URL::__construct
Creates and processes the provided URL (or filepath).
Method of the class: URL{}
No Hooks.
Returns
null. Nothing (null).
Usage
$URL = new URL(); $URL->__construct( $url );
- $url(string) (required)
- The URL (or filepath).
URL::__construct() URL:: construct code WC 10.5.0
public function __construct( string $url ) {
$this->url = $url;
$this->preprocess();
$this->process_path();
}