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\XdebugHandlerCode
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');
}