当前位置:网站首页>How does laravel run composer dump autoload without emptying the classmap mapping relationship?

How does laravel run composer dump autoload without emptying the classmap mapping relationship?

2022-07-07 16:19:00 Full stack programmer webmaster

I think laravel Of composer.json file autoload No configuration vendor/autoload_classmap.php The mapping relationship in , Normally , If not configured , perform composer dump-autoload The array of this file will be emptied ? But after I did it , The mapping relationship is still ,laravel How can it not be emptied , Is there any configuration ?

perform composer dump-autoload after vendor/composer/autoload_classmap.php, Will delete , And then re established

dump-autoload It is used to generate automatic loading , If you have run , Just upload it directly ( You need to pay attention to the path )

Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/113215.html Link to the original text :https://javaforall.cn

原网站

版权声明
本文为[Full stack programmer webmaster]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071406057918.html

随机推荐