File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -166,16 +166,15 @@ most natural in your hosting environment.
166166
167167 $ composer dump-env prod --empty
168168
169- Sometimes ``composer `` may not be installed on your hosting environment. Thus you
170- have to install and package Composer related code logic way before deploying.
171- Another way to generate this optimized file is to manually register the built in
172- command `Symfony\\Component\\Dotenv\\Command\\DotenvDumpCommand `
173- and use it:
169+ If ``composer `` is not installed on your server, you can generate this optimized
170+ file with a command provided by Symfony itself, which you must register in
171+ your application before using it:
174172
175173 .. code-block :: yaml
176174
177- services:
178- Symfony\C omponent\D otenv\C ommand\D otenvDumpCommand: ~
175+ # config/services.yaml
176+ services :
177+ Symfony\Component\Dotenv\Command\DotenvDumpCommand : ~
179178
180179 .. code-block :: terminal
181180
You can’t perform that action at this time.
0 commit comments