8000 update composer autoloader section · symfony/symfony-docs@127cc9e · GitHub
[go: up one dir, main page]

Skip to content

Commit 127cc9e

Browse files
kaznovacOskarStark
authored andcommitted
update composer autoloader section
1 parent fca8efc commit 127cc9e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

performance.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,13 @@ deployment process too):
201201

202202
.. code-block:: terminal
203203
204-
$ composer dump-autoload --optimize --no-dev --classmap-authoritative
204+
$ composer dump-autoload --no-dev --classmap-authoritative
205205
206-
* ``--optimize`` dumps every PSR-0 and PSR-4 compatible class used in your
207-
application;
208206
* ``--no-dev`` excludes the classes that are only needed in the development
209-
environment (e.g. tests);
210-
* ``--classmap-authoritative`` prevents Composer from scanning the file
211-
system for classes that are not found in the class map.
207+
environment (i.e. ``require-dev`` dependencies and ``autoload-dev`` rules);
208+
* ``--classmap-authoritative`` creates a class map for PSR-0 and PSR-4 compatible classes
209+
used in your application and prevents Composer from scanning the file system for
210+
classes that are not found in the class map. (see: `Composer's autoloader optimization`_).
212211

213212
Learn more
214213
----------

0 commit comments

Comments
 (0)
0