Reference

Guide

$request->get()

Returns any data field from the request if it exists

$request->get(string|null|array $key = null, mixed $fallback = null): mixed

Parameters

Name Type Default Description
$key string|null|array null
$fallback mixed null

Return type

mixed

Source code

kirby/src/Http/Request.php#L261