classDecimalGenerator
final class DecimalGenerator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Generates values for the declared precision and scale.
Methods§
public function generateDecimal(Generator $faker, ColumnDefinition $column): floatGenerates decimal.
Parameters
$faker | Generator | |
$column | ColumnDefinition |
Returns
floatTest cases 2
Called from 1
Calls 2
- new DecimalRange line 22
- method-call
Generator::randomFloat()line 23
Test cases 19§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 17
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlTypeMapperTestcallsColumnGeneratorTestcallsNumericGeneratorTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcallsMySqlTypeMapperTestcalls