$segment->resolve()
Automatically resolves the segment depending on the segment position and the type of the base
$segment->resolve(mixed $base = null, object|array $data = [ ]): mixed|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $base | mixed |
null |
Current value of the query chain |
| $data | object|array |
[ ] |
Return type
mixed|null