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

Names the generation plans this dialect's provider is built from.

A plan is how a caller says which SQL it wants, and the ones a provider offers are a fixed vocabulary rather than something each caller assembles. Naming them here keeps that vocabulary in one place and lets the provider read as a list of what it can generate.

Methods§

public static function quotedIdentifier(int $minLength, int $maxLength): GenerationPlan<true>

Parameters

$minLengthint
$maxLengthint

Returns

Test cases 1
Called from 1
Calls 2
public static function stringLiteral(int $minLength, int $maxLength): GenerationPlan<true>

Parameters

$minLengthint
$maxLengthint

Returns

Test cases 1
Called from 1
Calls 2
public static function integerLiteral(int $min, int $max): GenerationPlan<true>

Parameters

$minint
$maxint

Returns

Test cases 1
Called from 1
Calls 2
public static function decimalLiteral(int $precision, int $scale): GenerationPlan<true>

Parameters

$precisionint
$scaleint

Returns

Test cases 1
Called from 1
Calls 2
public static function floatLiteral(
    int $precision,
    int $scale,
    int $minExponent,
    int $maxExponent,
): GenerationPlan<true>

Parameters

$precisionint
$scaleint
$minExponentint
$maxExponentint

Returns

Test cases 1
Called from 1
Calls 2
public static function hexLiteral(int $minLength, int $maxLength): GenerationPlan<true>

Parameters

$minLengthint
$maxLengthint

Returns

Test cases 1
Called from 1
Calls 2
public static function binaryLiteral(int $minLength, int $maxLength): GenerationPlan<true>

Parameters

$minLengthint
$maxLengthint

Returns

Test cases 1
Called from 1
Calls 2
public static function dollarQuotedString(int $minLength, int $maxLength): GenerationPlan<true>

Parameters

$minLengthint
$maxLengthint

Returns

Test cases 1
Called from 1
Calls 2
public static function parameterMarker(int $min, int $max): GenerationPlan<true>

Parameters

$minint
$maxint

Returns

Test cases 1
Called from 1
Calls 2
public static function domainDmlStatements(): non-empty-list<GenerationPlan<true>>
public static function statementOfType(
    Generator $faker,
    ?StatementRule $type,
    int $maxDepth,
): GenerationPlan<true>

Selects a statement type when omitted and bounds its generation plan.

Parameters

$fakerGenerator
$type?StatementRule
$maxDepthint

Returns

Test cases 2
Called from 1
Calls 3

Test cases 27§

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

Dedicated tests 26
Other tests reaching this symbol 1

Relations§

Static calls 24