Skip to content

Kirby 4.5.0

Segments::factory()

Split query string into segments by dot but not inside (nested) parens

Segments::factory(string $query, ?Kirby\Query\Query $parent = null): Kirby\Query\Segments

Parameters

Name Type Default
$query * string
$parent Kirby\Query\Query|null null

Return type

Kirby\Query\Segments

Parent class

Kirby\Query\Segments