ttrss/vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php

19 lines
330 B
PHP
Raw Normal View History

2023-10-20 14:12:29 +00:00
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Common\Configuration\Resolver;
class PhpIniAccessor
{
/**
* Mockable accessor for php.ini values
* @internal
* @return array|false|string
*/
public function get(string $variableName)
{
return get_cfg_var($variableName);
}
}