<?php
namespace Claromentis\Search;

$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_679665a8d413f3af139346" . "2bc4d2894f" => base64_decode("IGlzI" . "A=="), "_ea7a040ae" . "8d83797a9d" . "185188ff86" . "4a2" => base64_decode("QXJndW1lbnQgMSBw" . "YXNzZWQgdG8g"), "_2397f28de5e7da63cb6c89957" . "c558c65" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJpbmdzLCBvZmZzZXQ" . "g"), "_27d36ba68a85217963497e6" . "6d46a8f86" => base64_decode("Z2V0dHlwZ" . "Q=="), "_5e30c47" . "17ced36c" . "ff9e93e1" . "9a5c576c" . "c" => base64_decode("aXNfc3RyaW5" . "n"), "_5c535722540e1ef86ee" . "ede2274ec9cd4" => base64_decode("Oj" . "o="), "_17a6e03f6ea2cb3182fe69cc5fbc8" . "9c6" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJpb" . "mdzLCBlbXB0eSBhcnJheSBwcm92aWRlZA=="));
use TypeError;





class MultiMatch
{
    
    
    private $value;
    
    
    private $fields;
    public function __construct(array $fields, $value)
    {
        $this->SetFields($fields);
        $this->SetValue($value);
    }
    
    
    
    
    
    
    public function GetFields() : array
    {
        return $this->fields;
    }
    
    
    
    
    
    
    public function GetValue()
    {
        return $this->value;
    }
    
    
    
    
    
    
    public function SetFields(array $fields) : void
    {
        if (empty($fields)) {
            throw new TypeError($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_ea7a040ae8d83797a9d185188" . "ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_5c535722540e1ef86eee" . "de2274ec9cd4"] . __FUNCTION__ . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_17a6e03f6ea2cb3182fe69cc5fbc89" . "c6"]);
        }
        foreach ($fields as $_1f50e30be8c2fefa6881834e71d504a2 => $field) {
            if (!$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_5e30c4717ced36cff9" . "e93e19a5c576cc"]($field)) {
                throw new TypeError($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_ea7a040ae8d83797a9d185188ff8" . "64a2"] . self::class . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_5c535722540e1ef86" . "eeede2274ec9cd4"] . __FUNCTION__ . ($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_2397f28de5" . "e7da63cb6c8" . "9957c558c65"] . $_1f50e30be8c2fefa6881834e71d504a2 . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_679665a8d41" . "3f3af1393462" . "bc4d2894f"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_27d36ba68a8" . "5217963497e6" . "6d46a8f86"]($field));
            }
        }
        $this->fields = $fields;
    }
    
    
    
    
    
    
    public function SetValue($value) : void
    {
        $this->value = $value;
    }
}