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