Url
in package
URL processing static class Mostly just helpers
Table of Contents
- path() : string
- Return only the path element of a URL
- proxy() : string
- Return a transformed url based on proxy settings.
Methods
path()
Return only the path element of a URL
public
static path(mixed $str) : string
Parameters
- $str : mixed
Return values
string —proxy()
Return a transformed url based on proxy settings.
public
static proxy(mixed $str[, array<string|int, mixed> $config = [] ]) : string
Parameters
- $str : mixed
- $config : array<string|int, mixed> = []