private function getDataAndReset()
    {
        if ($data = XdebugHandler::getRestartSettings()) {
            Process::setEnv('PHPRC', $data['phprc']);
            Process::setEnv('PHP_INI_SCAN_DIR', $data['scanDir']);
        }

        return $data;
    }
private function getDataAndReset()
    {
        if ($data = XdebugHandler::getRestartSettings()) {
            Process::setEnv('PHPRC', $data['phprc']);
            Process::setEnv('PHP_INI_SCAN_DIR', $data['scanDir']);
        }

        return $data;
    }
private function getDataAndReset ( ) { if ( $ data = XdebugHandler :: getRestartSettings ( ) ) { Process :: setEnv ( 'PHPRC' , $ data [ 'phprc' ] ) ; Process :: setEnv ( 'PHP_INI_SCAN_DIR' , $ data [ 'scanDir' ] ) ; } return $ data ; }
Returns restart data if available and resets the environment

@return array|null
Returns restart data if available and resets the environment