protected _mapAttributeToOption ( string $attribute ) : string | ||
$attribute | string | The Sam attribute to convert. |
return | string | The converted SpamAssassin option or the original attribute if no match is found. |
protected function _mapAttributeToOption($attribute)
{
return isset($this->_option_map[$attribute]) ? $this->_option_map[$attribute] : $attribute;
}