Lang

Illuminate\Support\Facades\Lang

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

addJsonPath

v11.0.0 以前から

static @method

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

addLines

v11.0.0 以前から

static @method

static addLines(array $lines, string $locale, string $namespace = '*'): void
  1. v11.0.0 追加
    変更後
    @method static addLines(array $lines, string $locale, string $namespace = '*'): void

addNamespace

v11.0.0 以前から

static @method

static addNamespace(string $namespace, string $hint): void
  1. v11.0.0 追加
    変更後
    @method static addNamespace(string $namespace, string $hint): void

addPath

v11.41.0 から

static @method

static addPath(string $path): void
  1. v11.41.0 追加
    変更後
    @method static addPath(string $path): void

array

v13.15.0 から

static @method

static array(string $key, array $replace = [], string|null $locale = null, bool $fallback = true): array
  1. v13.15.0 追加
    変更後
    @method static array(string $key, array $replace = [], string|null $locale = null, bool $fallback = true): array

choice

v11.0.0 以前から

static @method

static choice(string $key, \Countable|int|float|array $number, array $replace = [], string|null $locale = null): string
  1. v11.0.0 追加
    変更後
    @method static choice(string $key, \Countable|int|float|array $number, array $replace = [], string|null $locale = null): string

determineLocalesUsing

v11.0.0 以前から

static @method

static determineLocalesUsing(callable $callback): void
  1. v11.0.0 追加
    変更後
    @method static determineLocalesUsing(callable $callback): void

flushMacros

v11.0.0 以前から

static @method

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

flushParsedKeys

v11.0.0 以前から

static @method

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

get

v11.0.0 以前から

static @method

static get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true): string|array
  1. v11.0.0 追加
    変更後
    @method static get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true): string|array

getFallback

v11.0.0 以前から

static @method

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

getLoader

v11.0.0 以前から

static @method

static getLoader(): \Illuminate\Contracts\Translation\Loader
  1. v11.0.0 追加
    変更後
    @method static getLoader(): \Illuminate\Contracts\Translation\Loader

getLocale

v11.0.0 以前から

static @method

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

getSelector

v11.0.0 以前から

static @method

static getSelector(): \Illuminate\Translation\MessageSelector
  1. v11.0.0 追加
    変更後
    @method static getSelector(): \Illuminate\Translation\MessageSelector

handleMissingKeysUsing

v11.0.0 以前から

static @method

static handleMissingKeysUsing(callable|null $callback): \Illuminate\Translation\Translator
  1. v11.0.0 追加
    変更後
    @method static handleMissingKeysUsing(callable|null $callback): \Illuminate\Translation\Translator

has

v11.0.0 以前から

static @method

static has(string $key, string|null $locale = null, bool $fallback = true): bool
  1. v11.0.0 追加
    変更後
    @method static has(string $key, string|null $locale = null, bool $fallback = true): bool

hasForLocale

v11.0.0 以前から

static @method

static hasForLocale(string $key, string|null $locale = null): bool
  1. v11.0.0 追加
    変更後
    @method static hasForLocale(string $key, string|null $locale = null): bool

hasMacro

v11.0.0 以前から

static @method

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

load

v11.0.0 以前から

static @method

static load(string $namespace, string $group, string $locale): void
  1. v11.0.0 追加
    変更後
    @method static load(string $namespace, string $group, string $locale): void

locale

v11.0.0 以前から

static @method

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

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

parseKey

v11.0.0 以前から

static @method

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

setFallback

v11.0.0 以前から

static @method

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

setLoaded

v11.0.0 以前から

static @method

static setLoaded(array $loaded): void
  1. v11.0.0 追加
    変更後
    @method static setLoaded(array $loaded): void

setLocale

v11.0.0 以前から

static @method

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

setParsedKey

v11.0.0 以前から

static @method

static setParsedKey(string $key, array $parsed): void
  1. v11.0.0 追加
    変更後
    @method static setParsedKey(string $key, array $parsed): void

setSelector

v11.0.0 以前から

static @method

static setSelector(\Illuminate\Translation\MessageSelector $selector): void
  1. v11.0.0 追加
    変更後
    @method static setSelector(\Illuminate\Translation\MessageSelector $selector): void

string

v13.15.0 から

static @method

static string(string $key, array $replace = [], string|null $locale = null, bool $fallback = true): string
  1. v13.15.0 追加
    変更後
    @method static string(string $key, array $replace = [], string|null $locale = null, bool $fallback = true): string

stringable

v11.0.0 以前から

static @method

static stringable(callable|string $class, callable|null $handler = null): void
  1. v11.0.0 追加
    変更後
    @method static stringable(callable|string $class, callable|null $handler = null): void