Installer.php 786 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Modules\Channel;
  3. use Catch\Support\Module\Installer as ModuleInstaller;
  4. use Modules\Channel\Providers\ChannelServiceProvider;
  5. class Installer extends ModuleInstaller
  6. {
  7. protected function info(): array
  8. {
  9. // TODO: Implement info() method.
  10. return [
  11. 'title' => '渠道管理',
  12. 'name' => 'channel',
  13. 'path' => 'channel',
  14. 'keywords' => '渠道管理',
  15. 'description' => '渠道管理模块',
  16. 'provider' => ChannelServiceProvider::class
  17. ];
  18. }
  19. protected function requirePackages(): void
  20. {
  21. // TODO: Implement requirePackages() method.
  22. }
  23. protected function removePackages(): void
  24. {
  25. // TODO: Implement removePackages() method.
  26. }
  27. }