code: public function addKnownAttributeType($typeName)
      {
          if (!is_array($this->attributeTypes)) {
              throw new \LogicException('Filter setting ' . $this->typeClass . ' can not handle attributes.');
          }
  
          $this->attributeTypes[$typeName] = $typeName;
  
          return $this;
      }
docs: Retrieve the list of known attribute types.
  
  @param string $typeName The attribute type name.
  
  @return IFilterSettingTypeFactory
  
  @throws \LogicException When the filter setting can not handle attributes.