lib/Doctrine/MongoDB/Query/Builder.php
public function distanceMultiplier($distanceMultiplier)
    {
        if ($this->query['type'] !== Query::TYPE_GEO_NEAR) {
            throw new BadMethodCallException('This method requires a geoNear command (call geoNear() first)');
        }

        $this->query['geoNear']['options']['distanceMultiplier'] = $distanceMultiplier;
        return $this;
    }
public function distanceMultiplier($distanceMultiplier)
    {
        if ($this->query['type'] !== Query::TYPE_GEO_NEAR) {
            throw new BadMethodCallException('This method requires a geoNear command (call geoNear() first)');
        }

        $this->query['geoNear']['options']['distanceMultiplier'] = $distanceMultiplier;
        return $this;
    }
public function distanceMultiplier ( $ distanceMultiplier ) { if ( $ this -> query [ 'type' ] !== Query :: TYPE_GEO_NEAR ) { throw new BadMethodCallException ( 'This method requires a geoNear command (call geoNear() first)' ) ; } $ this -> query [ 'geoNear' ] [ 'options' ] [ 'distanceMultiplier' ] = $ distanceMultiplier ; return $ this ; }
Set the "distanceMultiplier" option for a geoNear command query.

@param float $distanceMultiplier
@return $this
@throws BadMethodCallException if the query is not a geoNear command
Set the distanceMultiplier option for a geoNear command query .