Installer.php 765 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace Modules\DuanJu;
  3. use Catch\Support\Module\Installer as ModuleInstaller;
  4. use Modules\DuanJu\Providers\DuanJuServiceProvider;
  5. class Installer extends ModuleInstaller
  6. {
  7. protected function info(): array
  8. {
  9. // TODO: Implement info() method.
  10. return [
  11. 'title' => 'cp管理',
  12. 'name' => 'DuanJu',
  13. 'path' => 'DuanJu',
  14. 'keywords' => '短剧',
  15. 'description' => '短剧模块',
  16. 'provider' => DuanJuServiceProvider::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. }