protected function unsetKeys(&$params) { foreach ($this->getIgnores() as $key) { unset($params[$key]); } }