Config

Illuminate\Support\Facades\Config

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

all

v11.0.0 以前から

static @method

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

array

v11.0.0 以前から

static @method

static array(string $key, \Closure|array|null $default = null): array
  1. v11.0.0 追加
    変更後
    @method static array(string $key, \Closure|array|null $default = null): array
  2. v13.4.0 シグネチャ変更
    変更前
    @method static array(string $key, \Closure|array|null $default = null): array
    変更後
    @method static array(string $key, \Closure|array<array-key, mixed>|null $default = null): array<array-key, mixed>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static array(string $key, \Closure|array<array-key, mixed>|null $default = null): array<array-key, mixed>
    変更後
    @method static array(string $key, \Closure|array|null $default = null): array

boolean

v11.0.0 以前から

static @method

static boolean(string $key, \Closure|bool|null $default = null): bool
  1. v11.0.0 追加
    変更後
    @method static boolean(string $key, \Closure|bool|null $default = null): bool

collection

v12.20.0 から

static @method

static collection(string $key, \Closure|array|null $default = null): \Illuminate\Support\Collection
  1. v12.20.0 追加
    変更後
    @method static collection(string $key, \Closure|array|null $default = null): \Illuminate\Support\Collection
  2. v13.4.0 シグネチャ変更
    変更前
    @method static collection(string $key, \Closure|array|null $default = null): \Illuminate\Support\Collection
    変更後
    @method static collection(string $key, \Closure|array<array-key, mixed>|null $default = null): \Illuminate\Support\Collection<array-key, mixed>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static collection(string $key, \Closure|array<array-key, mixed>|null $default = null): \Illuminate\Support\Collection<array-key, mixed>
    変更後
    @method static collection(string $key, \Closure|array|null $default = null): \Illuminate\Support\Collection

float

v11.0.0 以前から

static @method

static float(string $key, \Closure|float|null $default = null): float
  1. v11.0.0 追加
    変更後
    @method static float(string $key, \Closure|float|null $default = null): float

flushMacros

v11.0.0 以前から

static @method

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

get

v11.0.0 以前から

static @method

static get(array|string $key, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static get(array|string $key, mixed $default = null): mixed

getMany

v11.0.0 以前から

static @method

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

has

v11.0.0 以前から

static @method

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

hasMacro

v11.0.0 以前から

static @method

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

integer

v11.0.0 以前から

static @method

static integer(string $key, \Closure|int|null $default = null): int
  1. v11.0.0 追加
    変更後
    @method static integer(string $key, \Closure|int|null $default = null): int

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

prepend

v11.0.0 以前から

static @method

static prepend(string $key, mixed $value): void
  1. v11.0.0 追加
    変更後
    @method static prepend(string $key, mixed $value): void

push

v11.0.0 以前から

static @method

static push(string $key, mixed $value): void
  1. v11.0.0 追加
    変更後
    @method static push(string $key, mixed $value): void

set

v11.0.0 以前から

static @method

static set(array|string $key, mixed $value = null): void
  1. v11.0.0 追加
    変更後
    @method static set(array|string $key, mixed $value = null): void

string

v11.0.0 以前から

static @method

static string(string $key, \Closure|string|null $default = null): string
  1. v11.0.0 追加
    変更後
    @method static string(string $key, \Closure|string|null $default = null): string