protected function getFilterService($name)
    {
        if (!isset($this->filters[$name])) {
            throw new \RuntimeException('The filter "%s" does not exist.');
        }

        return $this->container->get($this->filters[$name]);
    }
protected function getFilterService($name)
    {
        if (!isset($this->filters[$name])) {
            throw new \RuntimeException('The filter "%s" does not exist.');
        }

        return $this->container->get($this->filters[$name]);
    }
protected function getFilterService ( $ name ) { if ( ! isset ( $ this -> filters [ $ name ] ) ) { throw new \ RuntimeException ( 'The filter "%s" does not exist.' ) ; } return $ this -> container -> get ( $ this -> filters [ $ name ] ) ; }
Returns the filter service for given filter name.

@param string $name

@throws \RuntimeException

@return object
Returns the filter service for given filter name .