classDecimalRange
final class DecimalRange
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
The finite decimal interval described by precision, scale and signedness.
Properties§
public int $scaleNumber of fractional decimal digits.
public float $minimumSmallest value permitted by the decimal declaration.
public float $maximumLargest value permitted by the decimal declaration.
Methods§
public function __construct(ColumnDefinition $column, bool $unsigned = false)Includes the fractional part of the highest representable decimal value.
Parameters
$column | ColumnDefinition | |
$unsigned | bool |
Calls 1
- function-call
powline 38
Test cases 27§
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 25
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlTypeMapperTestcallsColumnGeneratorTestcallsDecimalGeneratorTestcallsNumericGeneratorTestcallsPlatformFactoryTestcallsPostgreSqlTypeMapperTestcallsColumnGeneratorTestcallsDecimalGeneratorTestcallsNumericGeneratorTestcallsSqliteTypeMapperTestcallsColumnGeneratorTestcallsSqlSchemaProviderTestcallsMySqlTypeMapperTestcallsTypeMapperInterfaceTestcalls
Relations§
Instantiated in 4
- new SqlFixture\Platform\MySql\Value\DecimalGenerator::generateDecimal() packages/sql-fixture/src/Platform/MySql/Value/DecimalGenerator.php:22
- new SqlFixture\Platform\PostgreSql\Value\DecimalGenerator::generateDecimal() packages/sql-fixture/src/Platform/PostgreSql/Value/DecimalGenerator.php:22
- new SqlFixture\Platform\Sqlite\Value\ColumnGenerator::generateReal() packages/sql-fixture/src/Platform/Sqlite/Value/ColumnGenerator.php:94
- new SqlFixture\Platform\Sqlite\Value\ColumnGenerator::generateDecimal() packages/sql-fixture/src/Platform/Sqlite/Value/ColumnGenerator.php:145