Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 5 |
| OrderRedoCommand | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 5 |
| __construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getOrderId | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| getFromOrderId | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| <?php | |
| declare(strict_types=1); | |
| namespace App\Order\Application\Command; | |
| final class OrderRedoCommand implements OrderRedoCommandInterface | |
| { | |
| private string $orderId; | |
| private string $fromOrderId; | |
| public function __construct( | |
| string $orderId, | |
| string $fromOrderId | |
| ) { | |
| $this->orderId = $orderId; | |
| $this->fromOrderId = $fromOrderId; | |
| } | |
| public function getOrderId(): string | |
| { | |
| return $this->orderId; | |
| } | |
| public function getFromOrderId(): string | |
| { | |
| return $this->fromOrderId; | |
| } | |
| } |