Lines
0.00%
0 / 2
Methods
0.00%
0 / 2
Classes
0.00%
0 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| toRegistrySnapshot | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| 10 | final readonly class RegistryCacheSnapshot | |
| 11 | { | |
| 12 | public function __construct( | |
| 13 | public RegistryFragment $registry, | |
| 14 | public int $revision, | |
| 15 | ) {} | |
| 16 | ||
| 17 | public function toRegistrySnapshot(): RegistrySnapshot | |
| 18 | { | |
| 19 | return new RegistrySnapshot($this->registry, $this->revision); | |
| 20 | } | |
| 21 | } |