classTemporalGenerator
final class TemporalGenerator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Generates temporal 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 3
Called from 1
Calls 7
- function-call
strtoupperline 24 - method-call
Generator::date()line 25 - method-call
Generator::time()line 26 - method-call
Generator::dateTime()line 28 - method-call StructuredGenerator::generateInterval() line 30
- new StructuredGenerator line 30
- new
LogicExceptionline 31
Test cases 12§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 9
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsFixtureProviderTestcallsPlatformFactoryTestcallsPostgreSqlTypeMapperTestcallsColumnGeneratorTestcallsSqlSchemaProviderTestcalls