private function getConfiguration() { if (null !==
$this->configuration
) { return $this->configuration;
} if (false ===
$mode =
$this->mode
) { $mode =
$_SERVER['SYMFONY_DEPRECATIONS_HELPER'
] ??
$_ENV['SYMFONY_DEPRECATIONS_HELPER'
] ??
getenv('SYMFONY_DEPRECATIONS_HELPER'
);
} if ('strict' ===
$mode) { return $this->configuration = Configuration::
inStrictMode();
} if (self::MODE_DISABLED ===
$mode) { return $this->configuration = Configuration::
inDisabledMode();
} if ('weak' ===
$mode) { return $this->configuration = Configuration::
inWeakMode();
} if (isset($mode[0
]) && '/' ===
$mode[0
]) { return $this->configuration = Configuration::
fromRegex($mode);
}