Model/FilterItem.php
public function setFilterItems(array $filterItems)
    {
        $this->filterItems = [];

        foreach ($filterItems as $item) {
            $this->addFilterItem($item);
        }

        return $this;
    }
public function setFilterItems(array $filterItems)
    {
        $this->filterItems = [];

        foreach ($filterItems as $item) {
            $this->addFilterItem($item);
        }

        return $this;
    }
Sets the "filterItems" of the FilterItem.

@param FilterItem[] $filterItems

@return FilterItem