private function EnvParametersResource::findVariables in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Config/EnvParametersResource.php \Symfony\Component\HttpKernel\Config\EnvParametersResource::findVariables()
2 calls to EnvParametersResource::findVariables()
- EnvParametersResource::isFresh in vendor/
symfony/ http-kernel/ Config/ EnvParametersResource.php - EnvParametersResource::__construct in vendor/
symfony/ http-kernel/ Config/ EnvParametersResource.php - Constructor.
File
- vendor/
symfony/ http-kernel/ Config/ EnvParametersResource.php, line 81
Class
- EnvParametersResource
- EnvParametersResource represents resources stored in prefixed environment variables.
Namespace
Symfony\Component\HttpKernel\ConfigCode
private function findVariables() {
$variables = array();
foreach ($_SERVER as $key => $value) {
if (0 === strpos($key, $this->prefix)) {
$variables[$key] = $value;
}
}
ksort($variables);
return $variables;
}