src/ORM/Filters/MultiFieldPartialMatchFilter.php
public function setModifiers(array $modifiers)
    {
        $modifiers = array_map('strtolower', $modifiers);

        if (($extras = array_diff($modifiers, ['not', 'nocase', 'case', 'splitwords'])) != array()) {
            throw new InvalidArgumentException(
                get_class($this) . ' does not accept ' . implode(', ', $extras) . ' as modifiers'
            );
        }

        $this->modifiers = $modifiers;
        $this->subfilterModifiers = array_filter(
            $modifiers,
            function ($v) {
                return $v != 'splitwords';
            }
        );

        if (!empty($this->subfilters)) {
            foreach ($this->subfilters as $f) {
                $f->setModifiers($this->subfilterModifiers);
            }
        }
    }
public function setModifiers(array $modifiers)
    {
        $modifiers = array_map('strtolower', $modifiers);

        if (($extras = array_diff($modifiers, ['not', 'nocase', 'case', 'splitwords'])) != array()) {
            throw new InvalidArgumentException(
                get_class($this) . ' does not accept ' . implode(', ', $extras) . ' as modifiers'
            );
        }

        $this->modifiers = $modifiers;
        $this->subfilterModifiers = array_filter(
            $modifiers,
            function ($v) {
                return $v != 'splitwords';
            }
        );

        if (!empty($this->subfilters)) {
            foreach ($this->subfilters as $f) {
                $f->setModifiers($this->subfilterModifiers);
            }
        }
    }
@param array $modifiers

@throws InvalidArgumentException