final class SqliteGrammar
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

SQLite grammar loader.

Loads pre-compiled grammar from the ast/sqlite-*.php cache files.

Methods§

public static function load(string|null $version = null): Grammar

Load a pre-compiled SQLite grammar.

Parameters

$versionstring|nullSQLite version tag (e.g., "sqlite-3.47.2"). Null for default.

Returns

Test cases 286
Called from 1
Calls 2
public static function resolveVersion(string|null $version = null): string

Answers the release a version string names, defaulting to the newest one shipped.

Parameters

$versionstring|nullRelease to resolve, or null for the default

Returns

string Name of the release the artifacts were generated for

Throws

RuntimeException When the release is not one this package ships
Test cases 282
Called from 2
Calls 1

Test cases 291§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 6
Other tests reaching this symbol 285

Relations§

Static calls 3