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|stringGenerates value.
Parameters
$faker | Generator | |
$column | ColumnDefinition |
Returns
int|float|bool|stringTest cases 1
Called from 1
Calls 21
- function-call
strtoupperline 22 - function-call
in_arrayline 24 - method-call NumericGenerator::generate() line 25
- new NumericGenerator line 25
- method-call TemporalGenerator::generate() line 29
- new TemporalGenerator line 29
- method-call
Generator::boolean()line 34 - method-call StringGenerator::generateChar() line 36
- new StringGenerator line 36
- method-call StringGenerator::generateVarchar() line 37
- method-call ParagraphGenerator::generate() line 38
- new ParagraphGenerator line 38
- method-call StructuredGenerator::generateBytea() line 40
- new StructuredGenerator line 40
- method-call StructuredGenerator::generateJson() line 42
- method-call
Generator::uuid()line 45 - method-call
Generator::ipv4()line 47 - method-call
Generator::macAddress()line 49 - method-call StructuredGenerator::generateIntArray() line 51
- method-call StructuredGenerator::generateTextArray() line 52
- method-call
Generator::text()line 54
Test cases 9§
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 8
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsPostgreSqlTypeMapperTestcallsSqlSchemaProviderTestcalls