public function __construct()

in src/WorkplaceSearch/Schema/BoostItem.php [38:44]


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