<?php // +---------------------------------------------------------------------- // | 控制台配置 // +---------------------------------------------------------------------- return [ // 指令定义 'commands' => [ 'crontab' => 'app\command\Crontab', 'hello' => 'app\command\Hello', ], ];