interfaceRowGeneration
interface RowGeneration
Generates a row independently of provider defaults and platform selection.
Methods§
public function generate<T of object>(
TableSchema $schema,
array<mixed> $overrides = [],
class-string<T>|null $className = null,
): ($className is null ? array<string, mixed> : T)Generate fixture data from a parsed schema.
Parameters
$schema | TableSchema | Parsed table schema |
$overrides | array<mixed> | Override values |
$className | class-string<T>|null | Deserialization target class |
Returns
($className is null ? array<string, mixed> : T)Test cases 12§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
RowGenerationTestcalls
Other tests reaching this symbol 11
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsSqlSchemaProviderTestcalls