public function groupBy(callable $function) { return $this->newMethodSegment(__FUNCTION__, [$function]); }