Variable OPS_REGISTRY_PHPConst
OPS_REGISTRY_PHP: "\nuse Drupal\\drupflare\\Ops\\OpsRegistry;\n\n$path = '/drupal/modules/custom/drupflare/src/Ops/OpsRegistry.php';\nif (!is_file($path)) {\n\techo json_encode(['ok' => false, 'error' => 'OpsRegistry is not in the mount at ' . $path]);\n\treturn;\n}\nrequire_once $path;\n$cls = OpsRegistry::class;\nif (!class_exists($cls, false)) {\n\techo json_encode(['ok' => false, 'error' => 'OpsRegistry did not declare its class']);\n\treturn;\n}\n$ops = $cls::operations();\necho json_encode([\n\t'ok' => true,\n\t'count' => count($ops),\n\t'operations' => $ops,\n\t// the fail-closed pair, reported rather than assumed: an unknown name must read as writing and\n\t// sliced, so a caller that forgets has() cannot expose a mutation as a read\n\t'failsClosed' => [\n\t\t'writes' => $cls::writes('not-a-command'),\n\t\t'sliced' => $cls::sliced('not-a-command'),\n\t],\n\t'readOnlyUnsliced' => $cls::readOnlyUnsliced(),\n]);\n"