Skip to content

Kirby 5.0.4

Segments::parse()

Splits the string of a segment chaing into an array of segments as well as conenctors (. or ?.)

Segments::parse() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

Segments::parse(string $string): array

Parameters

Name Type Default
$stringrequired string no default value

Return type

array

Parent class

Kirby\Query\Segments