0

每当我尝试跑步时,php artisan tinker我都会得到:
ReflectionException : Class App\Console\Commands\ExampleCommand does not exist

虽然该文件确实不存在,但它是否必须运行修补程序?

4

1 回答 1

0

必须注释掉 tinker.php 文件中的 ExampleCommand 行(第 17 行)。感谢@bhuncho 指出命令白名单文档,基于此找到它!

于 2020-11-16T12:25:58.660 回答