public function filterUniverseBy(
        string $field,
        array $values,
        int $applicationType = Filter::AT_LEAST_ONE
    ): self {
        $fieldPath = Item::getPathByField($field);
        if (!empty($values)) {
            $this->universeFilters[$field] = Filter::create(
                $fieldPath,
                $values,
                $applicationType,
                Filter::TYPE_FIELD
            );
        } else {
            unset($this->universeFilters[$field]);
        }

        return $this;
    }
public function filterUniverseBy(
        string $field,
        array $values,
        int $applicationType = Filter::AT_LEAST_ONE
    ): self {
        $fieldPath = Item::getPathByField($field);
        if (!empty($values)) {
            $this->universeFilters[$field] = Filter::create(
                $fieldPath,
                $values,
                $applicationType,
                Filter::TYPE_FIELD
            );
        } else {
            unset($this->universeFilters[$field]);
        }

        return $this;
    }
public function filterUniverseBy ( string $ field , array $ values , int $ applicationType = Filter :: AT_LEAST_ONE ) : self { $ fieldPath = Item :: getPathByField ( $ field ) ; if ( ! empty ( $ values ) ) { $ this -> universeFilters [ $ field ] = Filter :: create ( $ fieldPath , $ values , $ applicationType , Filter :: TYPE_FIELD ) ; } else { unset ( $ this -> universeFilters [ $ field ] ) ; } return $ this ; }
Filter universe by.

@param string $field
@param array  $values
@param int    $applicationType

@return Query
Filter universe by .