建立自定义命令

有时候您可能希望在您的命令内部调用其它命令,此时您可以使用 call 方法:

$this->call("command:name", ["argument" => "foo", "--option" => "bar"]);
文章导航