Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 6 |
CRAP | |
0.00% |
0 / 11 |
| OrderRequestCommand | |
0.00% |
0 / 1 |
|
0.00% |
0 / 6 |
42 | |
0.00% |
0 / 11 |
| __construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 6 |
|||
| getOrderRequestId | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| getTableIdentifier | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| getEstablishment | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| getCatalogFlow | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| getItems | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| <?php | |
| declare(strict_types=1); | |
| namespace App\Order\Application\Command; | |
| final class OrderRequestCommand implements OrderRequestCommandInterface | |
| { | |
| private string $orderRequestId; | |
| private string $tableIdentifier; | |
| private array $establishment; | |
| private array $catalogFlow; | |
| private array $items; | |
| public function __construct( | |
| string $orderRequestId, | |
| array $establishment, | |
| array $catalogFlow, | |
| string $tableIdentifier, | |
| array $items | |
| ) { | |
| $this->orderRequestId = $orderRequestId; | |
| $this->tableIdentifier = $tableIdentifier; | |
| $this->establishment = $establishment; | |
| $this->catalogFlow = $catalogFlow; | |
| $this->items = $items; | |
| } | |
| public function getOrderRequestId(): string | |
| { | |
| return $this->orderRequestId; | |
| } | |
| public function getTableIdentifier(): string | |
| { | |
| return $this->tableIdentifier; | |
| } | |
| public function getEstablishment(): array | |
| { | |
| return $this->establishment; | |
| } | |
| public function getCatalogFlow(): array | |
| { | |
| return $this->catalogFlow; | |
| } | |
| public function getItems(): array | |
| { | |
| return $this->items; | |
| } | |
| } |