code: public function addFilter($filter, $value)
      {
          if (!in_array($filter, $this->filters)) {
              $this->filters[$filter] = $value;
          }
      }
docs: Add filter
  
  @param string $filter
  @param mixed $value