SystemServiceProvider.php 575 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Modules\System\Providers;
  3. use Catch\CatchAdmin;
  4. use Catch\Providers\CatchModuleServiceProvider;
  5. use Modules\ContentManage\Middlewares\ContentManageGate;
  6. class SystemServiceProvider extends CatchModuleServiceProvider
  7. {
  8. /**
  9. * middlewares
  10. *
  11. * @return string[]
  12. */
  13. protected function middlewares(): array
  14. {
  15. return [];
  16. }
  17. /**
  18. * route path
  19. *
  20. * @return string|array
  21. */
  22. public function moduleName(): string|array
  23. {
  24. // TODO: Implement path() method.
  25. return 'system';
  26. }
  27. }