<?php
namespace Claromentis\Search;

$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("_5c535722540e1ef86eeede2274ec9" . "cd4" => base64_decode("Oj" . "o="), "_679665a8d413f3af1393462" . "bc4d2894f" => base64_decode("IGlzIA" . "=="), "_ea7a040ae8d83797a9d1" . "85188ff864a2" => base64_decode("QXJndW1lbnQgMSBwYXNzZWQgdG" . "8g"), "_17a6e03f6ea2c" . "b3182fe69cc5fb" . "c89c6" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJpbmdzLCBlbXB0eS" . "BhcnJheSBwcm92aWRlZA=="), "_2397f28" . "de5e7da6" . "3cb6c899" . "57c558c6" . "5" => base64_decode("KCkgbXVzdCBiZSBhbiBhcnJheSBvZiBzdHJpbmdzLCB" . "vZmZzZXQg"), "_5e30c4717ced36cf" . "f9e93e19a5c576cc" => base64_decode("aXNfc3" . "RyaW5n"), "_27d36ba68a85217963497e66d" . "46a8f86" => base64_decode("Z2V0dHl" . "wZQ=="));
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["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_ea7a040ae8d83797a9" . "d185188ff864a2"] . self::class . $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_5c535722540e1ef86eeed" . "e2274ec9cd4"] . __FUNCTION__ . $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_17a6e03f6ea2cb3182fe69cc5fbc89c" . "6"]);
        }
        foreach ($fields as $_1f50e30be8c2fefa6881834e71d504a2 => $field) {
            if (!$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_5e30c4717ced36cff9e93e19a5c576" . "cc"]($field)) {
                throw new TypeError($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_ea7a040ae8d83797a9d185188f" . "f864a2"] . self::class . $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_5c535722540e1ef86eeede2274ec9c" . "d4"] . __FUNCTION__ . ($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_2397f28de5e7da63cb6c8" . "9957c558c65"] . $_1f50e30be8c2fefa6881834e71d504a2 . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_679665a8d413f3af1393462bc4d2" . "894f"]) . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_27d36ba68a85217963497" . "e66d46a8f86"]($field));
            }
        }
        $this->fields = $fields;
    }
    
    
    
    
    
    
    public function SetValue($value) : void
    {
        $this->value = $value;
    }
}