classTextGenerator
final class TextGenerator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Generates textual values for the dialect's declared column type.
Methods§
public function generate(Generator $faker, ColumnDefinition $column): ?stringGenerates a value for a supported member of this type family.
Parameters
$faker | Generator | |
$column | ColumnDefinition |
Returns
?stringThrows
LogicExceptionTest cases 1
Called from 1
Calls 16
- function-call
strtoupperline 24 - method-call StringGenerator::generateChar() line 25
- new StringGenerator line 25
- method-call StringGenerator::generateVarchar() line 26
- function-call
substrline 27 - method-call
Generator::text()line 27 - method-call ParagraphGenerator::generate() line 28
- new ParagraphGenerator line 28
- method-call StringGenerator::generateBinary() line 31
- method-call StringGenerator::generateVarbinary() line 32
- function-call
random_bytesline 33 - function-call
maxline 33 - method-call
Generator::numberBetween()line 33 - method-call StringGenerator::generateEnum() line 37
- method-call StringGenerator::generateSet() line 38
- new
LogicExceptionline 39
Test cases 17§
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 16
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlTypeMapperTestcallsColumnGeneratorTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcallsMySqlTypeMapperTestcalls