public function __construct()

in src/WorkplaceSearch/Schema/ExternalUserProperty.php [30:37]


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