code: protected function allowAttributeTypes($initialType1toN = null)
      {
          if (is_array($initialType1toN)) {
              $this->attributeTypes = $initialType1toN;
          } else {
              $this->attributeTypes = func_get_args();
          }
  
          return $this;
      }
docs: Setup the allowance of attribute types to be added to this factory.
  
  This must be called before any calls to addKnownAttributeType() is allowed.
  
  You can pass as many parameters as you need.
  
  Either pass one parameter as array of string or pass 1 to n parameters as string.
  
  @param string|string[] $initialType1toN One or more attribute type names to be available initially (optional).
  
  @return AbstractFilterSettingTypeFactory
  
  @SuppressWarnings(PHPMD.UnusedFormalParameter)