public function __construct()

in src/WorkplaceSearch/Schema/FacetRange.php [38:45]


	public function __construct(string $type, array $ranges)
	{
		if (!in_array($type, ['range'])) {
			throw new InvalidArgumentException('The $type parameter must be one of these values: range');
		}
		$this->type = $type;
		$this->ranges = $ranges;
	}