ExtensionEnableCommand.php 415 B

123456789101112131415161718192021
  1. <?php
  2. namespace Dcat\Admin\Console;
  3. use Illuminate\Console\Command;
  4. class ExtensionEnableCommand extends Command
  5. {
  6. protected $signature = 'admin:extension-enable
  7. {name : The name of the extension. Eg: author-name/extension-name}';
  8. protected $description = 'Enable an existing extension.';
  9. public function handle()
  10. {
  11. $name = $this->argument('name');
  12. }
  13. }