classIntegerRange
final class IntegerRange
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
SQL integer bounds restricted to values representable by PHP integers.
Properties§
public int $minimumSmallest value accepted by the selected width and signedness.
public int $maximumLargest SQL value that can also be represented as a PHP integer.
Methods§
public function __construct(IntegerWidth $width, bool $unsigned = false)Resolves the value domain before a random value is drawn from it.
Parameters
$width | IntegerWidth | |
$unsigned | bool |
Calls 5
- class-const IntegerWidth::Bits8() line 30
- class-const IntegerWidth::Bits16() line 31
- class-const IntegerWidth::Bits24() line 32
- class-const IntegerWidth::Bits32() line 33
- class-const IntegerWidth::Bits64() line 34
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
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlTypeMapperTestcallsColumnGeneratorTestcallsIntegerGeneratorTestcallsNumericGeneratorTestcallsPlatformFactoryTestcallsPostgreSqlTypeMapperTestcallsColumnGeneratorTestcallsNumericGeneratorTestcallsSqliteTypeMapperTestcallsColumnGeneratorTestcallsSqlSchemaProviderTestcallsIntegerWidthTest::testWidthIdentifiesAnIntegerStorageDomaincallsMySqlTypeMapperTestcallsTypeMapperInterfaceTestcalls
Relations§
Instantiated in 7
- new SqlFixture\Platform\MySql\Value\IntegerGenerator::generateTinyInt() packages/sql-fixture/src/Platform/MySql/Value/IntegerGenerator.php:28
- new SqlFixture\Platform\MySql\Value\IntegerGenerator::generateSmallInt() packages/sql-fixture/src/Platform/MySql/Value/IntegerGenerator.php:37
- new SqlFixture\Platform\MySql\Value\IntegerGenerator::generateMediumInt() packages/sql-fixture/src/Platform/MySql/Value/IntegerGenerator.php:46
- new SqlFixture\Platform\MySql\Value\IntegerGenerator::generateInt() packages/sql-fixture/src/Platform/MySql/Value/IntegerGenerator.php:55
- new SqlFixture\Platform\MySql\Value\IntegerGenerator::generateBigInt() packages/sql-fixture/src/Platform/MySql/Value/IntegerGenerator.php:64
- new SqlFixture\Platform\PostgreSql\Value\NumericGenerator::generate() packages/sql-fixture/src/Platform/PostgreSql/Value/NumericGenerator.php:34
- new SqlFixture\Platform\Sqlite\Value\ColumnGenerator::generateInteger() packages/sql-fixture/src/Platform/Sqlite/Value/ColumnGenerator.php:51