Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | |
66.67% |
2 / 3 |
|
66.67% |
2 / 3 |
|
66.67% |
2 / 3 |
|
66.67% |
2 / 3 |
CRAP | |
0.00% |
0 / 1 |
| AddUserSetCommand | |
66.67% |
2 / 3 |
|
66.67% |
2 / 3 |
|
66.67% |
2 / 3 |
|
66.67% |
2 / 3 |
3.33 | |
0.00% |
0 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| getExternalSetId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getIdentityId | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\CollectionManagement\Application\Command; |
| 4 | |
| 5 | use App\Shared\Domain\Model\EntityId; |
| 6 | |
| 7 | final readonly class AddUserSetCommand |
| 8 | { |
| 9 | public function __construct( |
| 10 | private string $externalSetId, |
| 11 | private EntityId $identityId |
| 12 | ) { |
| 13 | } |
| 14 | |
| 15 | public function getExternalSetId(): string |
| 16 | { |
| 17 | return $this->externalSetId; |
| 18 | } |
| 19 | |
| 20 | public function getIdentityId(): EntityId |
| 21 | { |
| 22 | return $this->identityId; |
| 23 | } |
| 24 | } |