Method | Description | |
---|---|---|
convertBinaryToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface | ||
convertStringToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface | ||
convertToDatabaseValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface $value ) : string | ||
getMappedDatabaseTypes ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type ) : string[] | Get an array of database types that map to this Doctrine type. |
Method | Description | |
---|---|---|
newObjectFromValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, array $value ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface | Create spatial object from parsed value |
public convertBinaryToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface | ||
$type | CrEOF\Spatial\DBAL\Types\AbstractSpatialType | |
$sqlExpr | string | |
return | CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface |
public convertStringToPHPValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, string $sqlExpr ) : CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface | ||
$type | CrEOF\Spatial\DBAL\Types\AbstractSpatialType | |
$sqlExpr | string | |
return | CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface |
public convertToDatabaseValue ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type, CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface $value ) : string | ||
$type | CrEOF\Spatial\DBAL\Types\AbstractSpatialType | |
$value | CrEOF\Spatial\PHP\Types\Geometry\GeometryInterface | |
return | string |
public getMappedDatabaseTypes ( CrEOF\Spatial\DBAL\Types\AbstractSpatialType $type ) : string[] | ||
$type | CrEOF\Spatial\DBAL\Types\AbstractSpatialType | |
return | string[] |