class NearEventArgs extends EventArgs (View source)

Event args for the geoNear command.

Methods

__construct(object $invoker, array $query, array|Point $near, array $options = [])

Constructor.

object
getInvoker()

No description

array
getQuery()

No description

array|Point
getNear()

No description

array
getOptions()

No description

setQuery(array $query)

No description

setNear($near)

No description

setOptions(array $options)

No description

Details

__construct(object $invoker, array $query, array|Point $near, array $options = [])

Constructor.

Parameters

object $invoker
array $query
array|Point $near
array $options

object getInvoker()

Return Value

object

array getQuery()

Return Value

array

array|Point getNear()

Return Value

array|Point

array getOptions()

Return Value

array

setQuery(array $query)

Parameters

array $query

setNear($near)

Parameters

$near

setOptions(array $options)

Parameters

array $options