interfaceTypeMapperInterface
interface TypeMapperInterface
Generates one value matching the declared SQL column.
Methods§
public function generate(Generator $faker, ColumnDefinition $column): mixedGenerate a Faker value based on column definition.
Parameters
$faker | Generator | |
$column | ColumnDefinition |
Returns
mixedCalled from 1
Test cases 19§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
TypeMapperInterfaceTestcalls
Other tests reaching this symbol 18
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsRowGeneratorTest::testGenerateDelegatesObjectHydrationcallsRowGeneratorTest::testGenerateUsesInjectedMappingAndPreservesOverridescallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlTypeMapperTestcallsPostgreSqlTypeMapperTestcallsSqliteTypeMapperTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcalls
Relations§
Implemented by 3
Method calls 1
Type declarations 8
- type SqlFixture\Fixture\RowGenerator packages/sql-fixture/src/Fixture/RowGenerator.php:22
- type SqlFixture\Provider\DatabaseFixtureProvider packages/sql-fixture/src/Provider/DatabaseFixtureProvider.php:55
- type SqlFixture\Provider\FileFixtureProvider packages/sql-fixture/src/Provider/FileFixtureProvider.php:44
- type SqlFixture\Provider\FixtureGenerator packages/sql-fixture/src/Provider/FixtureGenerator.php:22
- type SqlFixture\Provider\FixtureGenerator packages/sql-fixture/src/Provider/FixtureGenerator.php:31
- type SqlFixture\Provider\FixtureGenerator packages/sql-fixture/src/Provider/FixtureGenerator.php:68
- type SqlFixture\Provider\FixtureProvider packages/sql-fixture/src/Provider/FixtureProvider.php:60
- type SqlFixture\Provider\PlatformFactory packages/sql-fixture/src/Provider/PlatformFactory.php:77