private function getFromEnv($key)
{
$providerKey = "{$this->providerIdentifier}_{$key}";
$item = env($providerKey);
// ADDITIONAL value is empty
if (empty($item) && $this->isAdditionalConfig($key)) {
return;
}
// REQUIRED value is empty
if (empty($item)) {
throw new MissingConfigException("Configuration for {$providerKey} is missing.");
}
return $item;
}