Attachment

Illuminate\Mail\Attachment

class src/Illuminate/Mail/Attachment.php

as

v11.0.0 以前から

as($name)
@param string|null $name
@return $this
  1. v11.0.0 追加
    変更後
    as($name) [@param string|null $name, @return $this]

attachTo

v11.0.0 以前から

attachTo($mail, $options = [])
@param \Illuminate\Mail\Mailable|\Illuminate\Mail\Message|\Illuminate\Notifications\Messages\MailMessage $mail
@param array $options
@return mixed
  1. v11.0.0 追加
    変更後
    attachTo($mail, $options = []) [@param \Illuminate\Mail\Mailable|\Illuminate\Mail\Message|\Illuminate\Notifications\Messages\MailMessage $mail, @param array $options, @return mixed]

attachWith

v11.0.0 以前から

attachWith(Closure $pathStrategy, Closure $dataStrategy)
@param \Closure $pathStrategy
@param \Closure $dataStrategy
@return mixed
  1. v11.0.0 追加
    変更後
    attachWith(Closure $pathStrategy, Closure $dataStrategy) [@param \Closure $pathStrategy, @param \Closure $dataStrategy, @return mixed]

fromCloudStorage

v12.45.0 から

static

static fromCloudStorage($path)
@param string $path
@return static
  1. v12.45.0 追加
    変更後
    static fromCloudStorage($path) [@param string $path, @return static]

fromData

v11.0.0 以前から

static

static fromData(Closure $data, $name = null)
@param \Closure $data
@param string|null $name
@return static
  1. v11.0.0 追加
    変更後
    static fromData(Closure $data, $name = null) [@param \Closure $data, @param string|null $name, @return static]

fromPath

v11.0.0 以前から

static

static fromPath($path)
@param string $path
@return static
  1. v11.0.0 追加
    変更後
    static fromPath($path) [@param string $path, @return static]

fromStorage

v11.0.0 以前から

static

static fromStorage($path)
@param string $path
@return static
  1. v11.0.0 追加
    変更後
    static fromStorage($path) [@param string $path, @return static]

fromStorageDisk

v11.0.0 以前から

static

static fromStorageDisk($disk, $path)
@param string|null $disk
@param string $path
@return static
  1. v11.0.0 追加
    変更後
    static fromStorageDisk($disk, $path) [@param string|null $disk, @param string $path, @return static]

fromUploadedFile

v12.19.0 から

static

static fromUploadedFile(Illuminate\Http\UploadedFile $file)
@param \Illuminate\Http\UploadedFile $file
@return static
  1. v12.19.0 追加
    変更後
    static fromUploadedFile(Illuminate\Http\UploadedFile $file) [@param \Illuminate\Http\UploadedFile $file, @return static]

fromUrl

v11.23.0 から

static

static fromUrl($url)
@param string $url
@return static
  1. v11.23.0 追加
    変更後
    static fromUrl($url) [@param string $url, @return static]

isEquivalent

v11.0.0 以前から

isEquivalent(Illuminate\Mail\Attachment $attachment, $options = [])
@param \Illuminate\Mail\Attachment $attachment
@param array $options
@return bool
  1. v11.0.0 追加
    変更後
    isEquivalent(Illuminate\Mail\Attachment $attachment, $options = []) [@param \Illuminate\Mail\Attachment $attachment, @param array $options, @return bool]

withMime

v11.0.0 以前から

withMime($mime)
@param string $mime
@return $this
  1. v11.0.0 追加
    変更後
    withMime($mime) [@param string $mime, @return $this]