Class App\Console\Commands\ExampleCommand 不存在 运行 php artisan tinker
Class App\Console\Commands\ExampleCommand does not exist when running php artisan tinker
每当我尝试 运行 php artisan tinker
我得到:
ReflectionException : Class App\Console\Commands\ExampleCommand does not exist
虽然该文件确实不存在,但是否必须要 运行 修补?
必须注释掉 tinker.php 文件中的 ExampleCommand 行(第 17 行)。感谢@bhuncho 指出命令白名单文档,据此找到它!
每当我尝试 运行 php artisan tinker
我得到:
ReflectionException : Class App\Console\Commands\ExampleCommand does not exist
虽然该文件确实不存在,但是否必须要 运行 修补?
必须注释掉 tinker.php 文件中的 ExampleCommand 行(第 17 行)。感谢@bhuncho 指出命令白名单文档,据此找到它!