Lines
100.00%
1 / 1
Functions and Methods
100.00%
1 / 1
Classes and Traits
100.00%
1 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| StateChanges | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | 100.00% | 1 / 1 | |||
| extendWith | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Support\Stream; | |
| 6 | ||
| 7 | /** @internal */ | |
| 8 | final readonly class StateChanges extends ComposedStateChangeStream | |
| 9 | { | |
| 10 | protected function extendWith(StreamSource $stage): static | |
| 11 | { | |
| 12 | return new static($stage, $this->timers, $this->currentStates); | |
| 13 | } | |
| 14 | } |