segment()

public function segment(array $data = []): mixed

The segment() method is supported by a dedicated helper function. For guidance on how to use it, click here.