public function embed(string $filePath): string
    {
        $id = $this->getAttachmentId($filePath);
        $this->embeddedAttachments[$id] = $filePath;

        return $id;
    }
public function embed(string $filePath): string
    {
        $id = $this->getAttachmentId($filePath);
        $this->embeddedAttachments[$id] = $filePath;

        return $id;
    }
public function embed ( string $ filePath ) : string { $ id = $ this -> getAttachmentId ( $ filePath ) ; $ this -> embeddedAttachments [ $ id ] = $ filePath ; return $ id ; }
Embed the given file into this message.

@param string $filePath The file path.

@return string The attachment ID.
Embed the given file into this message .