private function checkFilterExistence($name) { if (!isset($this->filters[$name])) { throw new InvalidArgumentException("Filter with name '{$name}' was not found."); } }