/** * Get filter by name. * * @param string $name * * @return callable */ protected function getFilter($name) { $helper = new FilterHelper($this->filters, $this->filterAutoLoad); return $helper->getValidFilter($name); }
/** * Get a registered filter by name. * * @param string name * * @return callable */ public function getFilter($name) { $helper = new FilterHelper($this->filters, $this->options['filterAutoLoad']); return $helper->getFilter($name); }