From 7c0418cb1f2caa37c5e6cd87956e1e77ba467ab5 Mon Sep 17 00:00:00 2001 From: Vincent Prat Date: Mon, 6 Apr 2020 12:27:48 +0200 Subject: [PATCH] Let SpatialExpression implement the toWkt() method --- src/Eloquent/SpatialExpression.php | 5 +++++ 1 file changed, 5 insertions(+) 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(); + } }