src/Sanitizer.php
public function setFilters(array $filters)
    {
        if (empty($this->filters)) {
            $this->filters = $this->getDefaultFilters();
        }

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

        return $this;
    }
public function setFilters(array $filters)
    {
        if (empty($this->filters)) {
            $this->filters = $this->getDefaultFilters();
        }

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

        return $this;
    }
public function setFilters ( array $ filters ) { if ( empty ( $ this -> filters ) ) { $ this -> filters = $ this -> getDefaultFilters ( ) ; } $ this -> filters = array_merge ( $ this -> filters , $ filters ) ; return $ this ; }
Set filters.

@param  array  $filters

@return self
Set filters .