ApiService.tpl 345 B

123456789101112131415161718192021
  1. <?php
  2. namespace App\{module}\Services;
  3. use App\Base\Services\ApiBaseService;
  4. use App\Base\Models\BaseModel;
  5. class Api{action}Service extends ApiBaseService
  6. {
  7. /**
  8. * Api{action}Service constructor.
  9. * @param BaseModel $model
  10. */
  11. public function __construct(BaseModel $model)
  12. {
  13. $this->model = $model;
  14. }
  15. }