Skip to content

Commit 4d94056

Browse files
Crellnicolas-grekas
authored andcommitted
Improve docblock on compile()
1 parent aeb34cc commit 4d94056

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ContainerBuilder.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,11 @@ public function deprecateParameter(string $name, string $package, string $versio
742742
* * The parameter bag is frozen;
743743
* * Extension loading is disabled.
744744
*
745-
* @param bool $resolveEnvPlaceholders Whether %env()% parameters should be resolved using the current
746-
* env vars or be replaced by uniquely identifiable placeholders.
747-
* Set to "true" when you want to use the current ContainerBuilder
748-
* directly, keep to "false" when the container is dumped instead.
745+
* @param bool $resolveEnvPlaceholders Whether %env()% parameters should be resolved at build time using
746+
* the current env var values (true), or be resolved at runtime based
747+
* on the environment (false). In general, this should be set to "true"
748+
* when you want to use the current ContainerBuilder directly, and to
749+
* "false" when the container is dumped instead.
749750
*
750751
* @return void
751752
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy