Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. XdebugHandler.php

function XdebugHandler::setEnvRestartSettings

Adds restart settings to the environment

Parameters

non-empty-list<string> $envArgs:

1 call to XdebugHandler::setEnvRestartSettings()
XdebugHandler::check in vendor/composer/xdebug-handler/src/XdebugHandler.php
Checks if Xdebug is loaded and the process needs to be restarted

File

vendor/composer/xdebug-handler/src/XdebugHandler.php, line 553

Class

XdebugHandler
@author John Stevenson <john-stevenson@blueyonder.co.uk>

Namespace

Composer\XdebugHandler

Code

private function setEnvRestartSettings(array $envArgs) : void {
    $settings = [
        php_ini_loaded_file(),
        $envArgs[2],
        $envArgs[3],
        $envArgs[4],
        getenv($this->envOriginalInis),
        self::$skipped,
    ];
    Process::setEnv(self::RESTART_SETTINGS, implode('|', $settings));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal