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