src/DataTypes/LineString.php
public function isCircular()
    {
        return count($this->points) > 3 &&  $this->points[0] == $this->points[ count($this->points) -1 ];
    }
public function isCircular()
    {
        return count($this->points) > 3 &&  $this->points[0] == $this->points[ count($this->points) -1 ];
    }
public function isCircular ( ) { return count ( $ this -> points ) > 3 && $ this -> points [ 0 ] == $ this -> points [ count ( $ this -> points ) - 1 ] ; }
Check if the LineString is circular, that is the first and the last Point are the same.

@return bool
Check if the LineString is circular that is the first and the last Point are the same .