You are here

public function EnvParametersResource::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Config/EnvParametersResource.php \Symfony\Component\HttpKernel\Config\EnvParametersResource::__construct()

Constructor.

Parameters

string $prefix:

File

vendor/symfony/http-kernel/Config/EnvParametersResource.php, line 38

Class

EnvParametersResource
EnvParametersResource represents resources stored in prefixed environment variables.

Namespace

Symfony\Component\HttpKernel\Config

Code

public function __construct($prefix) {
  $this->prefix = $prefix;
  $this->variables = $this
    ->findVariables();
}