Skip to content

Kirby 5.0.4

$environment->toArray()

Returns all environment data as array

$environment->toArray(): array

Return type

array

This method modifies the existing $environment object it is applied to and returns it again.

Parent class

Kirby\Http\Environment