@@ 670-679 (lines=10) @@ | ||
667 | /** |
|
668 | * @return int |
|
669 | */ |
|
670 | protected function getNextSuffix() |
|
671 | { |
|
672 | if ($this->counter > 2e9) |
|
673 | { |
|
674 | $this->counter = 1e9; |
|
675 | $this->seed = GeneratorSupport::genId($this->name); |
|
676 | } |
|
677 | ||
678 | return (string) $this->counter++; |
|
679 | } |
|
680 | ||
681 | /** |
|
682 | * @param ProtocolInterface|null|string|string[] $message |
@@ 707-716 (lines=10) @@ | ||
704 | /** |
|
705 | * @return string |
|
706 | */ |
|
707 | protected function getNextSuffix() |
|
708 | { |
|
709 | if ($this->counter > 2e9) |
|
710 | { |
|
711 | $this->counter = 1e9; |
|
712 | $this->seed = GeneratorSupport::genId($this->name); |
|
713 | } |
|
714 | ||
715 | return (string) $this->counter++; |
|
716 | } |
|
717 | ||
718 | /** |
|
719 | * @param string|string[] $message |