Lines
0.00%
0 / 1
Functions and Methods
0.00%
0 / 1
Classes and Traits
0.00%
0 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ComponentDetection | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | 0.00% | 0 / 1 | |||
| __construct | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Broker\Component; | |
| 6 | ||
| 7 | use Stewart\Client\Component\ComponentVersion; | |
| 8 | use Stewart\Contracts\Time\Instant; | |
| 9 | use Stewart\Runtime\Lifecycle\ComponentState; | |
| 10 | ||
| 11 | final readonly class ComponentDetection | |
| 12 | { | |
| 13 | public function __construct( | |
| 14 | public ComponentState $state, | |
| 15 | public ?ComponentVersion $version, | |
| 16 | public Instant $since, | |
| 17 | ) {} | |
| 18 | } |