Automattic\WooCommerce\Internal\Utilities
URL::__construct
Creates and processes the provided URL (or filepath).
Метод класса: URL{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$URL = new URL(); $URL->__construct( $url );
- $url(строка) (обязательный)
- The URL (or filepath).
Код URL::__construct() URL:: construct WC 10.9.4
public function __construct( string $url ) {
$this->url = $url;
$this->preprocess();
$this->process_path();
}