classStringGenerator
final class StringGenerator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Generates character, binary and enumerated column values.
Methods§
public function generateChar(Generator $faker, ColumnDefinition $column): stringGenerates char.
Parameters
$faker | Generator | |
$column | ColumnDefinition |
Returns
stringTest cases 1
Called from 1
public function generateVarchar(Generator $faker, ColumnDefinition $column): stringGenerates varchar.
Parameters
$faker | Generator | |
$column | ColumnDefinition |
Returns
stringTest cases 3
Called from 1
Test cases 13§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 4
Other tests reaching this symbol 9
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsPostgreSqlTypeMapperTestcallsColumnGeneratorTestcallsSqlSchemaProviderTestcalls
Relations§
Instantiated in 2
Method calls 2
- method-call SqlFixture\Platform\PostgreSql\Value\ColumnGenerator::generateValue() packages/sql-fixture/src/Platform/PostgreSql/Value/ColumnGenerator.php:36
- method-call SqlFixture\Platform\PostgreSql\Value\ColumnGenerator::generateValue() packages/sql-fixture/src/Platform/PostgreSql/Value/ColumnGenerator.php:37