# get()

Shortcut for $kirby->request()->get()

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/helpers.php#L179>

****

```php
get(mixed $key = null, mixed $default = null): mixed
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$key` | `mixed` | `null` | The key to look for. Pass false or null to return the entire request array. |
| `$default` | `mixed` | `null` | Optional default value, which should be returned if no element has been found |

## Return type

`mixed`