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
-
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]
-
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
-
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
-
v11.0.0
追加
- 変更後
send($notifiables, $notification) [@param \Illuminate\Support\Collection|array|mixed $notifiables, @param mixed $notification, @return void]
-
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
-
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]
-
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]
-
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]