DocServiceProvider.php 321 B

1234567891011121314151617
  1. <?php
  2. namespace App\Doc\Providers;
  3. use App\Base\Providers\AppServiceProvider;
  4. use App\Doc\Services\DocService;
  5. class DocServiceProvider extends AppServiceProvider
  6. {
  7. public function register()
  8. {
  9. $this->app->bind(DocService::class, function () {
  10. return new DocService();
  11. });
  12. }
  13. }