public getFilters ( string $collection = 'default' ) : array | ||
$collection | string | Name of the filter collection. |
Résultat | array | Array of filter instances. |
public function getFilters($collection = 'default')
{
if (!isset($this->_filters[$collection])) {
throw new InvalidArgumentException(sprintf('The collection "%s" does not exist.', $collection));
}
return $this->_filters[$collection];
}