NotificationSender

Illuminate\Notifications\NotificationSender

class src/Illuminate/Notifications/NotificationSender.php

__construct

v11.0.0 以前から

__construct($manager, $bus, $events, $locale = null)
@param \Illuminate\Notifications\ChannelManager $manager
@param \Illuminate\Contracts\Bus\Dispatcher $bus
@param \Illuminate\Contracts\Events\Dispatcher $events
@param string|null $locale
  1. v11.0.0 追加
    変更後
    __construct($manager, $bus, $events, $locale = null) [@param \Illuminate\Notifications\ChannelManager $manager, @param \Illuminate\Contracts\Bus\Dispatcher $bus, @param \Illuminate\Contracts\Events\Dispatcher $events, @param string|null $locale, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct($manager, $bus, $events, $locale = null) [@param \Illuminate\Notifications\ChannelManager $manager, @param \Illuminate\Contracts\Bus\Dispatcher $bus, @param \Illuminate\Contracts\Events\Dispatcher $events, @param string|null $locale, @return void]
    変更後
    __construct($manager, $bus, $events, $locale = null) [@param \Illuminate\Notifications\ChannelManager $manager, @param \Illuminate\Contracts\Bus\Dispatcher $bus, @param \Illuminate\Contracts\Events\Dispatcher $events, @param string|null $locale]

locale

v13.36.0 から

locale($locale)
@param string|null $locale
@return $this
  1. v13.36.0 追加
    変更後
    locale($locale) [@param string|null $locale, @return $this]

send

v11.0.0 以前から

send($notifiables, $notification)
@param \Illuminate\Support\Collection|mixed $notifiables
@param mixed $notification
@return void
  1. v11.0.0 追加
    変更後
    send($notifiables, $notification) [@param \Illuminate\Support\Collection|array|mixed $notifiables, @param mixed $notification, @return void]
  2. v12.26.0 シグネチャ変更
    変更前
    send($notifiables, $notification) [@param \Illuminate\Support\Collection|array|mixed $notifiables, @param mixed $notification, @return void]
    変更後
    send($notifiables, $notification) [@param \Illuminate\Support\Collection|mixed $notifiables, @param mixed $notification, @return void]

sendNow

v11.0.0 以前から

sendNow($notifiables, $notification, ?array $channels = null)
@param \Illuminate\Support\Collection|mixed $notifiables
@param mixed $notification
@param array|null $channels
@return void
  1. v11.0.0 追加
    変更後
    sendNow($notifiables, $notification, array $channels = null) [@param \Illuminate\Support\Collection|array|mixed $notifiables, @param mixed $notification, @param array|null $channels, @return void]
  2. v11.3.0 シグネチャ変更
    変更前
    sendNow($notifiables, $notification, array $channels = null) [@param \Illuminate\Support\Collection|array|mixed $notifiables, @param mixed $notification, @param array|null $channels, @return void]
    変更後
    sendNow($notifiables, $notification, ?array $channels = null) [@param \Illuminate\Support\Collection|array|mixed $notifiables, @param mixed $notification, @param array|null $channels, @return void]
  3. v12.26.0 シグネチャ変更
    変更前
    sendNow($notifiables, $notification, ?array $channels = null) [@param \Illuminate\Support\Collection|array|mixed $notifiables, @param mixed $notification, @param array|null $channels, @return void]
    変更後
    sendNow($notifiables, $notification, ?array $channels = null) [@param \Illuminate\Support\Collection|mixed $notifiables, @param mixed $notification, @param array|null $channels, @return void]