File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -201,14 +201,13 @@ deployment process too):
201
201
202
202
.. code-block :: terminal
203
203
204
- $ composer dump-autoload --optimize -- no-dev --classmap-authoritative
204
+ $ composer dump-autoload --no-dev --classmap-authoritative
205
205
206
- * ``--optimize `` dumps every PSR-0 and PSR-4 compatible class used in your
207
- application;
208
206
* ``--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 `_).
212
211
213
212
Learn more
214
213
----------
You can’t perform that action at this time.
0 commit comments