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

MySQL grammar loader.

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

Methods§

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 2
Called from 2
Calls 1

Test cases 20§

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

Dedicated tests 12
Other tests reaching this symbol 8

Relations§

Static calls 3