Skip to content

Commit 433a13a

Browse files
committed
minor symfony#10470 [server:run] [symfony#10461] Add docs about custom environment (WouterJ)
This PR was merged into the 2.3 branch. Discussion ---------- [server:run] [symfony#10461] Add docs about custom environment | Q | A | ------------- | --- | Fixed tickets | symfony#10461, symfony/symfony-docs#3688 | License | MIT It's better to document this specific usecase in the command help. Commits ------- 6871a61 [symfony#10461] Add docs about custom environment
2 parents 2193f3d + 6871a61 commit 433a13a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ protected function configure()
6666
router script using <info>--router</info> option:
6767
6868
<info>%command.full_name% --router=app/config/router.php</info>
69+
70+
Specifing a router script is required when the used environment is not "dev" or
71+
"prod".
6972
7073
See also: http://www.php.net/manual/en/features.commandline.webserver.php
7174
EOF

0 commit comments

Comments
 (0)