Skip to content

Kirby 4.2.0

$environment->port()

Returns the correct port number

$environment->port(): int|null

Return type

int|null

Parent class

Kirby\Http\Environment