class Distance extends AbstractField (View source)

Use this field to store distance information for geoNear queries

Properties

$name from AbstractField
$type from AbstractField
$nullable from AbstractField
$options from AbstractField
$strategy from AbstractField
$distance

Methods

string
getDeprecationMessage()

Gets deprecation message. The method WILL be removed in 2.0.

bool
isDeprecated()

Gets whether the annotation is deprecated. The method WILL be removed in 2.0.

Details

string getDeprecationMessage()

Gets deprecation message. The method WILL be removed in 2.0.

Return Value

string

bool isDeprecated()

Gets whether the annotation is deprecated. The method WILL be removed in 2.0.

Return Value

bool