Elastica\Query\GeoBoundingBox::__construct PHP Method

__construct() public method

Construct BoundingBoxQuery.
public __construct ( string $key, array $coordinates )
$key string Key
$coordinates array Array with top left coordinate as first and bottom right coordinate as second element
    public function __construct($key, array $coordinates)
    {
        $this->addCoordinates($key, $coordinates);
    }