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 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| IndexedSelector | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | 100.00% | 1 / 1 | |||
| __construct | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Dispatch; | |
| 6 | ||
| 7 | use Stewart\Contracts\Selector\Selector; | |
| 8 | use Stewart\Runtime\Model\SubscriptionId; | |
| 9 | use Stewart\Runtime\Model\SubscriptionKind; | |
| 10 | ||
| 11 | final readonly class IndexedSelector | |
| 12 | { | |
| 13 | public function __construct( | |
| 14 | public SubscriptionId $subscriptionId, | |
| 15 | public SubscriptionKind $kind, | |
| 16 | public Selector $selector, | |
| 17 | ) {} | |
| 18 | } |