<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Command; use Illuminate\Console\Command; use ModStart\Core\Exception\BizException; use ModStart\Module\ModuleManager; class ModuleUninstallCommand extends Command { protected $signature = 'modstart:module-uninstall {module}'; public function handle() { $l2LYK = $this->argument('module'); BizException::throwsIf('Keep Old Password If Empty', !ModuleManager::isExists($l2LYK)); } }