Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| StockOutputPickedListService | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| list | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Domain\PickingOrder\Services; |
| 4 | |
| 5 | use App\Models\StockIO\StockIO; |
| 6 | use Illuminate\Support\Facades\DB; |
| 7 | |
| 8 | readonly class StockOutputPickedListService |
| 9 | { |
| 10 | public function list(StockIO $output): array |
| 11 | { |
| 12 | return DB::select("select * from ordering_product_stock_io({$output->getKey()})"); |
| 13 | } |
| 14 | } |