public function getFilters($collection = self::DEFAULT_COLLECTION)
    {
        if (!isset($this->_collections[$collection])) {
            $this->_collections[$collection] = $this->_loadCollection($collection);
        }

        return $this->_collections[$collection];
    }
public function getFilters($collection = self::DEFAULT_COLLECTION)
    {
        if (!isset($this->_collections[$collection])) {
            $this->_collections[$collection] = $this->_loadCollection($collection);
        }

        return $this->_collections[$collection];
    }
public function getFilters ( $ collection = self :: DEFAULT_COLLECTION ) { if ( ! isset ( $ this -> _collections [ $ collection ] ) ) { $ this -> _collections [ $ collection ] = $ this -> _loadCollection ( $ collection ) ; } return $ this -> _collections [ $ collection ] ; }
Gets all filters in a given collection.

@param string $collection Name of the filter collection.
@return \Search\Model\Filter\FilterCollectionInterface Filter collection instance.
@throws \InvalidArgumentException If requested collection is not set.
Gets all filters in a given collection .