grimzy/laravel-mysql-spatial

View on GitHub
src/Types/GeometryInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Grimzy\LaravelMysqlSpatial\Types;

interface GeometryInterface
{
    public function toWKT();

    public static function fromWKT($wkt, $srid = 0);

    public function __toString();

    public static function fromString($wktArgument, $srid = 0);

    public static function fromJson($geoJson);
}