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

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