$query->resolve()
Returns the query result if anything can be found, otherwise returns null
$query->resolve(object|array $data = [ ]): mixed|null
Parameters
Name | Type | Default |
---|---|---|
$data | object |array |
[ ] |
Return type
mixed
|null
Exceptions
Type | Description |
---|---|
Kirby\Exception\BadMethodCallException |
If an invalid method is accessed by the query |