mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 20:44:03 +00:00
23 lines
577 B
PHP
Executable File
23 lines
577 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Http\Controllers\Companies;
|
|
|
|
|
|
use App\Classes\Modules\ControllersLogic\Companies\ListCompanyOrderLogic;
|
|
|
|
class CompanyOrderController
|
|
{
|
|
|
|
/**
|
|
* @param int $id
|
|
* @param string $category
|
|
* @param ListCompanyOrderLogic $logic
|
|
* @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection
|
|
* @throws \App\Classes\Modules\ControllerLogic\Exceptions\InternalServerErrorException
|
|
*/
|
|
public function list(int $id, string $category, ListCompanyOrderLogic $logic){
|
|
return $logic->execute($id, $category);
|
|
|
|
}
|
|
|
|
} |