function Status::__construct
Same name in this branch
- 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php \Opentelemetry\Proto\Trace\V1\Status::__construct()
Parameters
string $envAllowXdebug Prefixed _ALLOW_XDEBUG name:
bool $debug Whether debug output is required:
File
-
vendor/
composer/ xdebug-handler/ src/ Status.php, line 56
Class
- Status
- @author John Stevenson <john-stevenson@blueyonder.co.uk> @internal
Namespace
Composer\XdebugHandlerCode
public function __construct(string $envAllowXdebug, bool $debug) {
$start = getenv(self::ENV_RESTART);
Process::setEnv(self::ENV_RESTART);
$this->time = is_numeric($start) ? round((microtime(true) - $start) * 1000) : 0;
$this->envAllowXdebug = $envAllowXdebug;
$this->debug = $debug && defined('STDERR');
$this->modeOff = false;
}