diff --git a/src/Eloquent/SpatialExpression.php b/src/Eloquent/SpatialExpression.php index 7bc88178..7bdb2afe 100644 --- a/src/Eloquent/SpatialExpression.php +++ b/src/Eloquent/SpatialExpression.php @@ -15,4 +15,9 @@ public function getSpatialValue() { return $this->value->toWkt(); } + + public function toWkt() + { + return $this->value->toWkt(); + } }