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

Breadcrumb

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

function XdebugHandler::syncSettings

Syncs settings and the environment if called with existing settings

@phpstan-param restartData $settings

1 call to XdebugHandler::syncSettings()
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 572

Class

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

Namespace

Composer\XdebugHandler

Code

private function syncSettings(array $settings) : void {
    if (false === getenv($this->envOriginalInis)) {
        // Called by another app, so make original inis available
        Process::setEnv($this->envOriginalInis, implode(PATH_SEPARATOR, $settings['inis']));
    }
    self::$skipped = $settings['skipped'];
    $this->notify(Status::INFO, 'Process called with existing restart settings');
}

API Navigation

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