Skip to content

Priority Criterion

The Location\Priority Search Criterion searches for Locations based on their priority.

This Criterion is available only for Location Search.


  • operator- Operator constant (GT, GTE, LT, LTE, BETWEEN)
  • value - int(s) representing the priority

The value argument requires:

  • a list of ints for Operator::BETWEEN
  • a single int for other Operators


$query->query = new Criterion\Location\Priority(Criterion\Operator::GTE, 50);
Read the Docs