Skip to content

Commit 7042e33

Browse files
authored
Update external_parameters.rst
1 parent d45f041 commit 7042e33

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

configuration/external_parameters.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -474,15 +474,10 @@ create a class that implements
474474
:class:`Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface` and
475475
then, define a service for that class::
476476

477+
use Symfony\Component\DependencyInjection\EnvVarProcessorInterface;
478+
477479
class LowercasingEnvVarProcessor implements EnvVarProcessorInterface
478480
{
479-
private $container;
480-
481-
public function __construct(ContainerInterface $container)
482-
{
483-
$this->container = $container;
484-
}
485-
486481
public function getEnv($prefix, $name, \Closure $getEnv)
487482
{
488483
$env = $getEnv($name);

0 commit comments

Comments
 (0)