concrete/src/Mail/Service.php
protected function isInlineAttachment(MimePart $attachment)
    {
        return $this->bodyHTML !== false
            && $attachment->getId()
            && in_array((string) $attachment->getDisposition(), ['', Mime::DISPOSITION_INLINE], true)
        ;
    }
protected function isInlineAttachment(MimePart $attachment)
    {
        return $this->bodyHTML !== false
            && $attachment->getId()
            && in_array((string) $attachment->getDisposition(), ['', Mime::DISPOSITION_INLINE], true)
        ;
    }
protected function isInlineAttachment ( MimePart $ attachment ) { return $ this -> bodyHTML !== false && $ attachment -> getId ( ) && in_array ( ( string ) $ attachment -> getDisposition ( ) , [ '' , Mime :: DISPOSITION_INLINE ] , true ) ; }
Determine if an attachment should be used as an inline attachment associated to the HTML body.

@param MimePart $attachment

@return bool
Determine if an attachment should be used as an inline attachment associated to the HTML body .