offset = $config['offset'] ?? 0; } public function getSerialIdForIndex( int $index ): string { return (string)( $index + $this->offset ); } }