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

question

I see laravel"s composer.json file autoload also does not configure the mapping relationship in vendor/autoload_classmap.php . Normally, if there is no configuration, the array that executes the composer dump-autoload file will not be emptied? But after I execute, the mapping relationship is still there. How does laravel not be emptied? is there any configuration?

Mar.04,2021

after executing composer dump-autoload , it will be deleted and then re-established

Menu