运行php artisan tinker时,类App\Console\Commands\ExampleComman



每当我尝试运行php artisan tinker时,我都会得到:
ReflectionException : Class AppConsoleCommandsExampleCommand does not exist

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

不得不注释掉修补程序.php文件中的ExampleCommand行(第17行(。感谢@bhuncho指出命令白名单文档,并在此基础上找到它!

最新更新