drupflare/worker - v1.0.4
    Preparing search index...

    Variable CLAIM_BOOT_PHPConst

    CLAIM_BOOT_PHP: "\nuse Drupal\\Core\\DrupalKernel;\nuse Drupal\\Core\\Site\\Settings;\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Symfony\\Component\\HttpFoundation\\Session\\Session;\nuse Symfony\\Component\\HttpFoundation\\Session\\Storage\\MockArraySessionStorage;\n\nif (!isset($GLOBALS['__pw_autoloader']) || !is_object($GLOBALS['__pw_autoloader'])) {\n\t$GLOBALS['__pw_autoloader'] = require '/drupal/autoload.php';\n}\n$autoloader = $GLOBALS['__pw_autoloader'];\n\nif (!isset($GLOBALS['__pw_kernel'])) {\n\t$request = Request::create('/', 'GET');\n\t$kernel = new DrupalKernel('prod', $autoloader);\n\tDrupalKernel::bootEnvironment();\n\t$sitePath = DrupalKernel::findSitePath($request);\n\t$kernel->setSitePath($sitePath);\n\tSettings::initialize('/drupal', $sitePath, $autoloader);\n\t$kernel->boot();\n\t$GLOBALS['__pw_kernel'] = $kernel;\n}\n// A MIGRATED SITE HAS PROCEDURAL HOOKS IN .module FILES, and saving the account dispatches them\n// before anything has included one: farmOS answered Class \"entity_entity_type_build\" does not\n// exist, DrupalX a RequestContext built from no request. The enable fragment does the same two\n$stack = Drupal::service('request_stack');\nif ($stack->getCurrentRequest() === null) {\n\t$claimRequest = Request::create('/', 'GET');\n\t// a hook asks the request for its session (varbase: SessionNotFoundException); in memory, so\n\t// the claim writes no session row\n\t$claimRequest->setSession(new Session(new MockArraySessionStorage()));\n\t$stack->push($claimRequest);\n}\nDrupal::moduleHandler()->loadAll();\n// The first WRITE path anything in this project has exercised, and it found a\n// new instance of the trace-blind class immediately: SAVED_NEW / SAVED_UPDATED\n// are plain constants in core/includes/common.inc, which a render never needs\n// and DrupalKernel::boot() does not include. EntityStorageBase::doSave()\n// returns SAVED_UPDATED, so every entity save fatals with\n// \"Undefined constant Drupal\\\\Core\\\\Entity\\\\SAVED_UPDATED\" until it is loaded.\n// Read paths are not evidence about write paths. Before the first config write, because a\n// config save subscriber can save an entity (open y's upgrade_tool logs every change).\nif (!defined('SAVED_UPDATED')) {\n\trequire_once '/drupal/core/includes/common.inc';\n\t$out['loadedCommonInc'] = true;\n}\n"