Notification

Illuminate\Support\Facades\Notification

class src/Illuminate/Support/Facades/Notification.php

assertCount

v11.0.0 以前から

static @method

static assertCount(int $expectedCount): void
  1. v11.0.0 追加
    変更後
    @method static assertCount(int $expectedCount): void

assertNothingSent

v11.0.0 以前から

static @method

static assertNothingSent(): void
  1. v11.0.0 追加
    変更後
    @method static assertNothingSent(): void

assertNothingSentTo

v11.0.0 以前から

static @method

static assertNothingSentTo(mixed $notifiable): void
  1. v11.0.0 追加
    変更後
    @method static assertNothingSentTo(mixed $notifiable): void

assertNotSentTo

v11.0.0 以前から

static @method

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

assertSentOnDemand

v11.0.0 以前から

static @method

static assertSentOnDemand(string|\Closure $notification, callable|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertSentOnDemand(string|\Closure $notification, callable|null $callback = null): void

assertSentOnDemandOnce

v13.31.0 から

static @method

static assertSentOnDemandOnce(string $notification): void
  1. v13.31.0 追加
    変更後
    @method static assertSentOnDemandOnce(string $notification): void

assertSentOnDemandTimes

v11.0.0 以前から

static @method

static assertSentOnDemandTimes(string $notification, int $times = 1): void
  1. v11.0.0 追加
    変更後
    @method static assertSentOnDemandTimes(string $notification, int $times = 1): void

assertSentTimes

v11.0.0 以前から

static @method

static assertSentTimes(string $notification, int $expectedCount): void
  1. v11.0.0 追加
    変更後
    @method static assertSentTimes(string $notification, int $expectedCount): void

assertSentTo

v11.0.0 以前から

static @method

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

assertSentToOnce

v13.31.0 から

static @method

static assertSentToOnce(mixed $notifiable, string $notification): void
  1. v13.31.0 追加
    変更後
    @method static assertSentToOnce(mixed $notifiable, string $notification): void

assertSentToTimes

v11.0.0 以前から

static @method

static assertSentToTimes(mixed $notifiable, string $notification, int $times = 1): void
  1. v11.0.0 追加
    変更後
    @method static assertSentToTimes(mixed $notifiable, string $notification, int $times = 1): void

channel

v11.0.0 以前から

static @method

static channel(\UnitEnum|string|null $name = null): mixed
  1. v11.0.0 追加
    変更後
    @method static channel(string|null $name = null): mixed
  2. v13.6.0 シグネチャ変更
    変更前
    @method static channel(string|null $name = null): mixed
    変更後
    @method static channel(\UnitEnum|string|null $name = null): mixed

deliversVia

v11.0.0 以前から

static @method

static deliversVia(): string
  1. v11.0.0 追加
    変更後
    @method static deliversVia(): string

deliverVia

v11.0.0 以前から

static @method

static deliverVia(string $channel): void
  1. v11.0.0 追加
    変更後
    @method static deliverVia(string $channel): void

driver

v11.0.0 以前から

static @method

static driver(\UnitEnum|string|null $driver = null): mixed
  1. v11.0.0 追加
    変更後
    @method static driver(string|null $driver = null): mixed
  2. v13.5.0 シグネチャ変更
    変更前
    @method static driver(string|null $driver = null): mixed
    変更後
    @method static driver(\UnitEnum|string|null $driver = null): mixed

extend

v11.0.0 以前から

static @method

static extend(string $driver, \Closure $callback): \Illuminate\Notifications\ChannelManager
  1. v11.0.0 追加
    変更後
    @method static extend(string $driver, \Closure $callback): \Illuminate\Notifications\ChannelManager

fake

v11.0.0 以前から

static

static fake()
@return \Illuminate\Support\Testing\Fakes\NotificationFake
  1. v11.0.0 追加
    変更後
    static fake() [@return \Illuminate\Support\Testing\Fakes\NotificationFake]

flushMacros

v11.0.0 以前から

static @method

static flushMacros(): void
  1. v11.0.0 追加
    変更後
    @method static flushMacros(): void

forgetDrivers

v11.0.0 以前から

static @method

static forgetDrivers(): \Illuminate\Notifications\ChannelManager
  1. v11.0.0 追加
    変更後
    @method static forgetDrivers(): \Illuminate\Notifications\ChannelManager

getContainer

v11.0.0 以前から

static @method

static getContainer(): \Illuminate\Contracts\Container\Container
  1. v11.0.0 追加
    変更後
    @method static getContainer(): \Illuminate\Contracts\Container\Container

getDefaultDriver

v11.0.0 以前から

static @method

static getDefaultDriver(): string
  1. v11.0.0 追加
    変更後
    @method static getDefaultDriver(): string

getDrivers

v11.0.0 以前から

static @method

static getDrivers(): array
  1. v11.0.0 追加
    変更後
    @method static getDrivers(): array
  2. v13.4.0 シグネチャ変更
    変更前
    @method static getDrivers(): array
    変更後
    @method static getDrivers(): array<string, mixed>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static getDrivers(): array<string, mixed>
    変更後
    @method static getDrivers(): array

hasMacro

v11.0.0 以前から

static @method

static hasMacro(string $name): bool
  1. v11.0.0 追加
    変更後
    @method static hasMacro(string $name): bool

hasSent

v11.0.0 以前から

static @method

static hasSent(mixed $notifiable, string $notification): bool
  1. v11.0.0 追加
    変更後
    @method static hasSent(mixed $notifiable, string $notification): bool

locale

v11.0.0 以前から

static @method

static locale(string $locale): \Illuminate\Notifications\ChannelManager
  1. v11.0.0 追加
    変更後
    @method static locale(string $locale): \Illuminate\Notifications\ChannelManager

macro

v11.0.0 以前から

static @method

static macro(string $name, object|callable $macro): void
  1. v11.0.0 追加
    変更後
    @method static macro(string $name, object|callable $macro): void
  2. v11.8.0 シグネチャ変更
    変更前
    @method static macro(string $name, object|callable $macro): void
    変更後
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
  3. v11.23.3 シグネチャ変更
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

mixin

v11.0.0 以前から

static @method

static mixin(object $mixin, bool $replace = true): void
  1. v11.0.0 追加
    変更後
    @method static mixin(object $mixin, bool $replace = true): void

resolveConnectionFromQueueRoute

v13.0.0 から

static @method

static resolveConnectionFromQueueRoute(object $queueable): string|null
  1. v13.0.0 追加
    変更後
    @method static resolveConnectionFromQueueRoute(object $queueable): string|null

resolveQueueFromQueueRoute

v13.0.0 から

static @method

static resolveQueueFromQueueRoute(object $queueable): string|null
  1. v13.0.0 追加
    変更後
    @method static resolveQueueFromQueueRoute(object $queueable): string|null

route

v11.0.0 以前から

static

static route($channel, $route)
@param string $channel
@param mixed $route
@return \Illuminate\Notifications\AnonymousNotifiable
  1. v11.0.0 追加
    変更後
    static route($channel, $route) [@param string $channel, @param mixed $route, @return \Illuminate\Notifications\AnonymousNotifiable]

routes

v11.0.0 以前から

static

static routes(array $channels)
@param array $channels
@return \Illuminate\Notifications\AnonymousNotifiable
  1. v11.0.0 追加
    変更後
    static routes(array $channels) [@param array $channels, @return \Illuminate\Notifications\AnonymousNotifiable]

send

v11.0.0 以前から

static @method

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

sendNow

v11.0.0 以前から

static @method

static sendNow(\Illuminate\Support\Collection|mixed $notifiables, mixed $notification, array|null $channels = null): void
  1. v11.0.0 追加
    変更後
    @method static sendNow(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification, array|null $channels = null): void
  2. v12.26.0 シグネチャ変更
    変更前
    @method static sendNow(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification, array|null $channels = null): void
    変更後
    @method static sendNow(\Illuminate\Support\Collection|mixed $notifiables, mixed $notification, array|null $channels = null): void

sent

v11.0.0 以前から

static @method

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

sentNotifications

v11.0.0 以前から

static @method

static sentNotifications(): array
  1. v11.0.0 追加
    変更後
    @method static sentNotifications(): array

serializeAndRestore

v11.3.0 から

static @method

static serializeAndRestore(bool $serializeAndRestore = true): \Illuminate\Support\Testing\Fakes\NotificationFake
  1. v11.3.0 追加
    変更後
    @method static serializeAndRestore(bool $serializeAndRestore = true): \Illuminate\Support\Testing\Fakes\NotificationFake

setContainer

v11.0.0 以前から

static @method

static setContainer(\Illuminate\Contracts\Container\Container $container): \Illuminate\Notifications\ChannelManager
  1. v11.0.0 追加
    変更後
    @method static setContainer(\Illuminate\Contracts\Container\Container $container): \Illuminate\Notifications\ChannelManager