Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| CheckIfThereAreStockUnits | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| execute | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| <?php | |
| declare(strict_types=1); | |
| namespace App\Order\Application\Service; | |
| final class CheckIfThereAreStockUnits implements CheckIfThereAreStockUnitsInterface | |
| { | |
| public function execute(array $items): bool | |
| { | |
| /* | |
| * Could receive a stock service client | |
| * Do the call to know about stock units for the order items | |
| */ | |
| return true; | |
| } | |
| } |