src/Engine/CrudeSetupTrait/Filters.php
public function setFilters($filters)
    {
        if (! is_array($filters))
            $filters = [$filters];

        $this->filters = array_unique(array_merge($this->filters, $filters));

        return $this;
    }
public function setFilters($filters)
    {
        if (! is_array($filters))
            $filters = [$filters];

        $this->filters = array_unique(array_merge($this->filters, $filters));

        return $this;
    }
public function setFilters ( $ filters ) { if ( ! is_array ( $ filters ) ) $ filters = [ $ filters ] ; $ this -> filters = array_unique ( array_merge ( $ this -> filters , $ filters ) ) ; return $ this ; }
Sets the Filters.

@param array|sting $filters the filters

@return self
Sets the Filters .