ProCacheTests::validateUrl() method
Validate a testing URL
Usage
// basic usage
$string = $tests->validateUrl(string $url);
// usage with all arguments
$string = $tests->validateUrl(string $url, array $options = []);Arguments
| Name | Type(s) | Description |
|---|---|---|
$url | string | URL you want to validate |
$options (optional) | array | Options to modify behavior:
|
Return value
stringReturns URL on success or empty string if it did not validate
API reference based on ProcessWire core version 3.0.252