Skip to content

Kirby 4.2.0

$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

Parent class

Kirby\Query\Segment