NotificationFake

Illuminate\Support\Testing\Fakes\NotificationFake

class src/Illuminate/Support/Testing/Fakes/NotificationFake.php

assertCount

v11.0.0 以前から

assertCount($expectedCount)
@param int $expectedCount
@return void
  1. v11.0.0 追加
    変更後
    assertCount($expectedCount) [@param int $expectedCount, @return void]

assertNothingSent

v11.0.0 以前から

assertNothingSent()
@return void
  1. v11.0.0 追加
    変更後
    assertNothingSent() [@return void]

assertNothingSentTo

v11.0.0 以前から

assertNothingSentTo($notifiable)
@param mixed $notifiable
@return void
  1. v11.0.0 追加
    変更後
    assertNothingSentTo($notifiable) [@param mixed $notifiable, @return void]

assertNotSentTo

v11.0.0 以前から

assertNotSentTo($notifiable, $notification, $callback = null)
@param mixed $notifiable
@param string|\Closure $notification
@param callable|array<string, mixed>|null $callback
@return void
  1. v11.0.0 追加
    変更後
    assertNotSentTo($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string|\Closure $notification, @param callable|null $callback, @return void]
  2. v13.35.0 シグネチャ変更
    変更前
    assertNotSentTo($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string|\Closure $notification, @param callable|null $callback, @return void]
    変更後
    assertNotSentTo($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string|\Closure $notification, @param callable|array<string, mixed>|null $callback, @return void]

assertSentOnDemand

v11.0.0 以前から

assertSentOnDemand($notification, $callback = null)
@param string|\Closure $notification
@param callable|null $callback
@return void
  1. v11.0.0 追加
    変更後
    assertSentOnDemand($notification, $callback = null) [@param string|\Closure $notification, @param callable|null $callback, @return void]

assertSentOnDemandOnce

v13.31.0 から

assertSentOnDemandOnce($notification)
@param string $notification
@return void
  1. v13.31.0 追加
    変更後
    assertSentOnDemandOnce($notification) [@param string $notification, @return void]

assertSentOnDemandTimes

v11.0.0 以前から

assertSentOnDemandTimes($notification, $times = 1)
@param string $notification
@param int $times
@return void
  1. v11.0.0 追加
    変更後
    assertSentOnDemandTimes($notification, $times = 1) [@param string $notification, @param int $times, @return void]

assertSentTimes

v11.0.0 以前から

assertSentTimes($notification, $expectedCount)
@param string $notification
@param int $expectedCount
@return void
  1. v11.0.0 追加
    変更後
    assertSentTimes($notification, $expectedCount) [@param string $notification, @param int $expectedCount, @return void]

assertSentTo

v11.0.0 以前から

assertSentTo($notifiable, $notification, $callback = null)
@param mixed $notifiable
@param string|\Closure $notification
@param callable|array<string, mixed>|null $callback
@return void
  1. v11.0.0 追加
    変更後
    assertSentTo($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string|\Closure $notification, @param callable|null $callback, @return void]
  2. v13.35.0 シグネチャ変更
    変更前
    assertSentTo($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string|\Closure $notification, @param callable|null $callback, @return void]
    変更後
    assertSentTo($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string|\Closure $notification, @param callable|array<string, mixed>|null $callback, @return void]

assertSentToOnce

v13.31.0 から

assertSentToOnce($notifiable, $notification)
@param mixed $notifiable
@param string $notification
@return void
  1. v13.31.0 追加
    変更後
    assertSentToOnce($notifiable, $notification) [@param mixed $notifiable, @param string $notification, @return void]

assertSentToTimes

v11.0.0 以前から

assertSentToTimes($notifiable, $notification, $times = 1)
@param mixed $notifiable
@param string $notification
@param int $times
@return void
  1. v11.0.0 追加
    変更後
    assertSentToTimes($notifiable, $notification, $times = 1) [@param mixed $notifiable, @param string $notification, @param int $times, @return void]

channel

v11.0.0 以前から

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

hasSent

v11.0.0 以前から

hasSent($notifiable, $notification)
@param mixed $notifiable
@param string $notification
@return bool
  1. v11.0.0 追加
    変更後
    hasSent($notifiable, $notification) [@param mixed $notifiable, @param string $notification, @return bool]

locale

v11.0.0 以前から

locale($locale)
@param string $locale
@return $this
  1. v11.0.0 追加
    変更後
    locale($locale) [@param string $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]

sent

v11.0.0 以前から

sent($notifiable, $notification, $callback = null)
@param mixed $notifiable
@param string $notification
@param callable|array<string, mixed>|null $callback
@return \Illuminate\Support\Collection
  1. v11.0.0 追加
    変更後
    sent($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string $notification, @param callable|null $callback, @return \Illuminate\Support\Collection]
  2. v13.35.0 シグネチャ変更
    変更前
    sent($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string $notification, @param callable|null $callback, @return \Illuminate\Support\Collection]
    変更後
    sent($notifiable, $notification, $callback = null) [@param mixed $notifiable, @param string $notification, @param callable|array<string, mixed>|null $callback, @return \Illuminate\Support\Collection]

sentNotifications

v11.0.0 以前から

sentNotifications()
@return array
  1. v11.0.0 追加
    変更後
    sentNotifications() [@return array]

serializeAndRestore

v11.3.0 から

serializeAndRestore(bool $serializeAndRestore = true)
@param bool $serializeAndRestore
@return $this
  1. v11.3.0 追加
    変更後
    serializeAndRestore(bool $serializeAndRestore = true) [@param bool $serializeAndRestore, @return $this]