‪TYPO3CMS  11.5
TYPO3\CMS\Core\DependencyInjection\EnvVarProcessor Class Reference
Inheritance diagram for TYPO3\CMS\Core\DependencyInjection\EnvVarProcessor:

Public Member Functions

mixed getEnv ($prefix, $name, \Closure $getEnv)
 

Static Public Member Functions

static string[] getProvidedTypes ()
 

Detailed Description

Definition at line 26 of file EnvVarProcessor.php.

Member Function Documentation

◆ getEnv()

mixed TYPO3\CMS\Core\DependencyInjection\EnvVarProcessor::getEnv (   $prefix,
  $name,
\Closure  $getEnv 
)
Parameters
string$prefix‪The namespace of the variable
string$name‪The name of the variable within the namespace
\Closure$getEnv‪A closure that allows fetching more env vars
Returns
‪mixed
Exceptions

Definition at line 35 of file EnvVarProcessor.php.

◆ getProvidedTypes()

static string [] TYPO3\CMS\Core\DependencyInjection\EnvVarProcessor::getProvidedTypes ( )
static
Returns
‪string[] The PHP-types managed by getEnv(), keyed by prefixes

Definition at line 50 of file EnvVarProcessor.php.