src/Part/MessageResolver.php
private function resolveBody(Message $part)
    {
        $body = $part->getBody();
        foreach ($part->getParameters() as $search => $replace) {
            $body = str_replace($search, $replace, $body);
        }

        return $body;
    }
private function resolveBody(Message $part)
    {
        $body = $part->getBody();
        foreach ($part->getParameters() as $search => $replace) {
            $body = str_replace($search, $replace, $body);
        }

        return $body;
    }
private function resolveBody ( Message $ part ) { $ body = $ part -> getBody ( ) ; foreach ( $ part -> getParameters ( ) as $ search => $ replace ) { $ body = str_replace ( $ search , $ replace , $ body ) ; } return $ body ; }
Resolve the body of the message.

@return string
Resolve the body of the message .