service.stub 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. declare (strict_types = 1);
  12. namespace {%namespace%};
  13. use app\services\BaseServices;
  14. use app\dao\***\{%className%}Dao;
  15. /**
  16. *
  17. * Class {%className%}Services
  18. * @package {%namespace%}
  19. */
  20. class {%className%}Services extends BaseServices
  21. {
  22. /**
  23. * {%className%}Services constructor.
  24. * @param {%className%}Dao $dao
  25. */
  26. public function __construct({%className%}Dao $dao)
  27. {
  28. $this->dao = $dao;
  29. }
  30. }