Skip to content

Commit 460b406

Browse files
Merge branch '7.4' into 8.0
* 7.4: [Translation] Make the extractor alias optional [Cache] Fix accepting named closures as early-expiration callbacks [Mime] Update mime types [HttpKernel] Conflict with symfony/flex < 2.10 [Yaml] Align unquoted multiline scalar parsing with spec for comments work around limitation in JsonResponse when the data is null do not use recipient phone numbers as sender e-mail addresses [Dotenv] DotenvDumpCommand cannot be internal
2 parents cacdd55 + 1658a4d commit 460b406

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Command/DotenvDumpCommand.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@
2323
/**
2424
* A console command to compile .env files into a PHP-optimized file called .env.local.php.
2525
*
26-
* @internal
26+
* To use this command, first register it explicitly as a service, e.g in your services.yaml file:
27+
*
28+
* ```yaml
29+
* services:
30+
* # [...]
31+
* Symfony\Component\Dotenv\Command\DotenvDumpCommand: ~
32+
* ```
2733
*/
2834
#[Autoconfigure(bind: ['$projectDir' => '%kernel.project_dir%', '$defaultEnv' => '%kernel.environment%'])]
2935
#[AsCommand(name: 'dotenv:dump', description: 'Compile .env files to .env.local.php')]

0 commit comments

Comments
 (0)