src/Message/PartFilter.php
private function failsTextPartFilter(MessagePart $part)
    {
        return ($this->textpart === static::FILTER_EXCLUDE && $part->isTextPart())
            || ($this->textpart === static::FILTER_INCLUDE && !$part->isTextPart());
    }
private function failsTextPartFilter(MessagePart $part)
    {
        return ($this->textpart === static::FILTER_EXCLUDE && $part->isTextPart())
            || ($this->textpart === static::FILTER_INCLUDE && !$part->isTextPart());
    }
private function failsTextPartFilter ( MessagePart $ part ) { return ( $ this -> textpart === static :: FILTER_EXCLUDE && $ part -> isTextPart ( ) ) || ( $ this -> textpart === static :: FILTER_INCLUDE && ! $ part -> isTextPart ( ) ) ; }
Returns true if the passed MessagePart fails the filter's textpart filter
settings.

@param MessagePart $part
@return bool
Returns true if the passed MessagePart fails the filter s textpart filter settings .