public function getFilter($filter) {
        if ($this->hasFilter($filter)) {
            return $this->_filters[$filter];
        }

        throw new MissingFilterException(sprintf('Filter %s does not exist', $filter));
    }
public function getFilter($filter) {
        if ($this->hasFilter($filter)) {
            return $this->_filters[$filter];
        }

        throw new MissingFilterException(sprintf('Filter %s does not exist', $filter));
    }
public function getFilter ( $ filter ) { if ( $ this -> hasFilter ( $ filter ) ) { return $ this -> _filters [ $ filter ] ; } throw new MissingFilterException ( sprintf ( 'Filter %s does not exist' , $ filter ) ) ; }
Return a specific filter based on class name.

@param string $filter
@return \Decoda\Filter
@throws \Decoda\Exception\MissingFilterException
Return a specific filter based on class name .