public array $commonPorts = array (
'ftp' => 21,
'http' => 80,
'https' => 443,
)
public string $parts = array (
'scheme' => 'http',
'host' => 'localhost',
'path' => '/',
)
public __construct(?string $url): void
| Parameter | Type | Description |
|---|
$url | string | |
public __get(string $key): string
| Parameter | Type | Description |
|---|
$key | string | |
public __set(string $key, string $value): void
| Parameter | Type | Description |
|---|
$key | string | |
$value | string | |
public __toString(): string
public scheme(?string $value): string
| Parameter | Type | Description |
|---|
$value | string | |
public host(?string $value): string
| Parameter | Type | Description |
|---|
$value | string | |
public port(?int $value): int
| Parameter | Type | Description |
|---|
$value | int | |
public lookupPort(string $scheme): ?int
| Parameter | Type | Description |
|---|
$scheme | string | |
public get(string $key): string
| Parameter | Type | Description |
|---|
$key | string | |
public set(string $key, string $value): void
| Parameter | Type | Description |
|---|
$key | string | |
$value | string | |
public setParams(array $array): void
| Parameter | Type | Description |
|---|
$array | array | |
public offsetExists(mixed $offset): bool
| Parameter | Type | Description |
|---|
$offset | mixed | |
public offsetGet(mixed $offset): mixed
| Parameter | Type | Description |
|---|
$offset | mixed | |
public offsetSet(mixed $key, mixed $value): void
| Parameter | Type | Description |
|---|
$key | mixed | |
$value | mixed | |
public offsetUnSet(mixed $key): void
| Parameter | Type | Description |
|---|
$key | mixed | |
public toString(): string
public queryString(): ?string
public appendPath(string $path): void
| Parameter | Type | Description |
|---|
$path | string | |
Generated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:30:00 +0000