geoIntersects() public method

The geometry parameter GeoJSON object or an array corresponding to the geometry's JSON representation.
See also: Builder::geoIntersects()
See also: http://docs.mongodb.org/manual/reference/operator/geoIntersects/
public geoIntersects ( array | GeoJson\Geometry\Geometry $geometry )
$geometry array | GeoJson\Geometry\Geometry
Beispiel #1
0
 /**
  * Add $geoIntersects criteria with a GeoJSON geometry to the query.
  *
  * The geometry parameter GeoJSON object or an array corresponding to the
  * geometry's JSON representation.
  *
  * @see Expr::geoIntersects()
  * @see http://docs.mongodb.org/manual/reference/operator/geoIntersects/
  * @param array|Geometry $geometry
  * @return self
  */
 public function geoIntersects($geometry)
 {
     $this->expr->geoIntersects($geometry);
     return $this;
 }