Skip to content

Kirby 6.0.0

$environment->port()

Returns the correct port number

$environment->port(): int|null

Return types

intornull

Parent class

Kirby\Http\Environment