Browse Source

'MessageInterface::createAttachment()' renamed to 'MessageInterface::attachContentAsFile()'

tags/2.0.0-alpha
Paul Klimov 12 years ago
parent
commit
31e414520a
  1. 2
      yii/swiftmailer/Message.php

2
yii/swiftmailer/Message.php

@ -115,7 +115,7 @@ class Message extends BaseMessage
/** /**
* @inheritdoc * @inheritdoc
*/ */
public function createAttachment($content, $fileName, $contentType = 'application/octet-stream') public function attachContentAsFile($content, $fileName, $contentType = 'application/octet-stream')
{ {
if (empty($contentType)) { if (empty($contentType)) {
$contentType = 'application/octet-stream'; $contentType = 'application/octet-stream';

Loading…
Cancel
Save