public function resetFilters($extension = null)
    {
        if ($extension === null) {
            $this->filters = [];
        }
        else {
            $this->filters[$extension] = [];
        }

        return $this;
    }
public function resetFilters($extension = null)
    {
        if ($extension === null) {
            $this->filters = [];
        }
        else {
            $this->filters[$extension] = [];
        }

        return $this;
    }
public function resetFilters ( $ extension = null ) { if ( $ extension === null ) { $ this -> filters = [ ] ; } else { $ this -> filters [ $ extension ] = [ ] ; } return $ this ; }
Clears any registered filters.
@param string $extension Extension name. Eg: css
@return self
Clears any registered filters .