classColumnGenerator
final class ColumnGenerator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Generates values from the dialect column type.
Methods§
public function generateValue(
Generator $faker,
ColumnDefinition $column,
): int|float|bool|string|nullGenerates value.
Parameters
$faker | Generator | |
$column | ColumnDefinition |
Returns
int|float|bool|string|nullTest cases 1
Called from 1
Calls 16
- function-call
strtoupperline 22 - function-call
in_arrayline 24 - method-call NumericGenerator::generate() line 25
- new NumericGenerator line 25
- method-call TextGenerator::generate() line 29
- new TextGenerator line 29
- method-call GeometryGenerator::generate() line 33
- new GeometryGenerator line 33
- method-call
Generator::date()line 38 - method-call
Generator::time()line 39 - method-call
Generator::dateTime()line 40 - method-call
Generator::dateTimeBetween()line 41 - method-call
Generator::numberBetween()line 42 - function-call
json_encodeline 44 - method-call
Generator::text()line 45 - method-call
Generator::boolean()line 49
Test cases 16§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 15
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlTypeMapperTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcallsMySqlTypeMapperTestcalls