public function setLineString($field, array $pointArray)
    {
        return $this->setGeometry(
            $field,
            new \GeoJson\Geometry\LineString($pointArray)
        );
    }
public function setLineString($field, array $pointArray)
    {
        return $this->setGeometry(
            $field,
            new \GeoJson\Geometry\LineString($pointArray)
        );
    }
public function setLineString ( $ field , array $ pointArray ) { return $ this -> setGeometry ( $ field , new \ GeoJson \ Geometry \ LineString ( $ pointArray ) ) ; }
Set line string as array of points

Requires MongoDB version 2.4 or above with 2dsparse index version 1
to use Point, LineString and Polygon.

@link http://docs.mongodb.org/manual/core/2dsphere/#linestring
@param string $field
@param array $pointArray array of points
@return \Sokil\Mongo\Document
Set line string as array of points