mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 20:44:03 +00:00
8a28eb1790
This reverts merge request !5
24 lines
588 B
PHP
24 lines
588 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Warehouses;
|
|
|
|
|
|
use App\Classes\Modules\ControllersLogic\Warehouses\ListWarehouseOrderLogic;
|
|
|
|
class WarehouseOrderController
|
|
{
|
|
|
|
|
|
/**
|
|
* @param int $id
|
|
* @param string $category
|
|
* @param ListWarehouseOrderLogic $logic
|
|
* @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection
|
|
* @throws \App\Classes\Modules\ControllerLogic\Exceptions\InternalServerErrorException
|
|
*/
|
|
public function list(int $id, string $category, ListWarehouseOrderLogic $logic){
|
|
return $logic->execute($id, $category);
|
|
|
|
}
|
|
|
|
} |