Forwarded
class Forwarded (View source)
Constants
| PARAM_BY |
|
| PARAM_FOR |
|
| PARAM_HOST |
|
| PARAM_PROTO |
|
Methods
__construct(string|null $header = null, int $limit = 100, bool $fallback = true)
Constructor.
string|null
getParam(string $type, int $index = -1, mixed $alternative = null)
Returns a value from a specific Forwarded field.
array<int, array<string, string>>
getAll()
Returns all parsed Forwarded entries as an array.
Details
__construct(string|null $header = null, int $limit = 100, bool $fallback = true)
Constructor.
string|null
getParam(string $type, int $index = -1, mixed $alternative = null)
Returns a value from a specific Forwarded field.
array<int, array<string, string>>
getAll()
Returns all parsed Forwarded entries as an array.