Skip to content

Commit 840402c

Browse files
committed
minor #14618 Update performance.rst (noniagriconomie)
This PR was merged into the 4.4 branch. Discussion ---------- Update performance.rst Hi Small hint as described here https://getcomposer.org/doc/articles/autoloader-optimization.md#optimization-level-2-a-authoritative-class-maps Sometime it is easier to have oneline command than multiples ❔ I have a question also: The paragraph above mentioned `Execute this command to generate the class map file for production` But in fact the file `vendor/composer/autoload_classmap.php` exists even without this, as it seems to be similar with/without. is it worth a reword or a detail addition? Or a Composer issue? Thanks Commits ------- dd8afa5 Update performance.rst
2 parents 018fb7b + dd8afa5 commit 840402c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

performance.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ deployment process too):
209209
used in your application and prevents Composer from scanning the file system for
210210
classes that are not found in the class map. (see: `Composer's autoloader optimization`_).
211211

212+
You can also use the ``--classmap-authoritative`` option with the ``composer install`` command.
213+
212214
.. _profiling-applications:
213215

214216
Profiling Symfony Applications

0 commit comments

Comments
 (0)