// +---------------------------------------------------------------------- // +---------------------------------------------------------------------- // | 控制台配置 // +---------------------------------------------------------------------- return [ // 指令定义 'commands' => [ "hello"=>app\command\Hello::class, 'timer'=>\app\command\Timer::class, ], ];