$query->get()
The get method is the heart and soul of this Trait. You can use it to fetch a single value of the data array by key or multiple values by passing an array of keys.
$query->get(array|string $key, $default = null)
Parameters
Name | Type | Default |
---|---|---|
$keyrequired | array orstring |
no default value |
$default | mixed |
null
|