classGeometryGenerator
final class GeometryGenerator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Generates geometry 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 4
Called from 1
Calls 10
- function-call
strtoupperline 24 - method-call SpatialGenerator::generatePoint() line 25
- new SpatialGenerator line 25
- method-call SpatialGenerator::generateLineString() line 26
- method-call SpatialGenerator::generatePolygon() line 27
- method-call SpatialGenerator::generateMultiPoint() line 28
- method-call SpatialGenerator::generateMultiLineString() line 29
- method-call SpatialGenerator::generateMultiPolygon() line 30
- method-call SpatialGenerator::generateGeometryCollection() line 32
- new
LogicExceptionline 33
Test cases 20§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 4
Other tests reaching this symbol 16
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlTypeMapperTestcallsColumnGeneratorTestcallsPlatformFactoryTestcallsSqlSchemaProviderTestcallsMySqlTypeMapperTestcalls