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

Public Member Functions

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

Static Public Member Functions

static string[] getProvidedTypes ()
 

Detailed Description

Definition at line 26 of file EnvVarProcessor.php.

Member Function Documentation

◆ getEnv()

TYPO3\CMS\Core\DependencyInjection\EnvVarProcessor::getEnv ( string  $prefix,
string  $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
Exceptions

Definition at line 34 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 49 of file EnvVarProcessor.php.