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

$schemaTableSchemaParsed table schema
$overridesarray<mixed>Override values
$classNameclass-string<T>|nullDeserialization target class

Returns

($className is null ? array<string, mixed> : T)
Called from 1

Test cases 12§

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 11

Relations§

Implemented by 1
Method calls 1
Type declarations 1