【发布时间】:2021-02-27 15:03:24
【问题描述】:
每当我尝试运行 php artisan tinker 时,我都会得到:ReflectionException : Class App\Console\Commands\ExampleCommand does not exist
虽然该文件确实不存在,但它必须要运行 tinker 吗?
【问题讨论】:
-
尝试使用
php artisan clear-compiled,您可以从这里查看更多信息laravel.com/docs/8.x/artisan#command-whitelist