Lang
Illuminate\Support\Facades\Lang
class src/Illuminate/Support/Facades/Lang.php
addJsonPath
v11.0.0 以前から
static @method
static addJsonPath(string $path): void
-
v11.0.0
追加
- 変更後
@method static addJsonPath(string $path): void
addLines
v11.0.0 以前から
static @method
static addLines(array $lines, string $locale, string $namespace = '*'): void
-
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
-
v11.0.0
追加
- 変更後
@method static addNamespace(string $namespace, string $hint): void
addPath
v11.41.0 から
static @method
static addPath(string $path): void
-
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
-
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
-
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
-
v11.0.0
追加
- 変更後
@method static determineLocalesUsing(callable $callback): void
flushMacros
v11.0.0 以前から
static @method
static flushMacros(): void
-
v11.0.0
追加
- 変更後
@method static flushMacros(): void
flushParsedKeys
v11.0.0 以前から
static @method
static flushParsedKeys(): void
-
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
-
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
-
v11.0.0
追加
- 変更後
@method static getFallback(): string
getLoader
v11.0.0 以前から
static @method
static getLoader(): \Illuminate\Contracts\Translation\Loader
-
v11.0.0
追加
- 変更後
@method static getLoader(): \Illuminate\Contracts\Translation\Loader
getLocale
v11.0.0 以前から
static @method
static getLocale(): string
-
v11.0.0
追加
- 変更後
@method static getLocale(): string
getSelector
v11.0.0 以前から
static @method
static getSelector(): \Illuminate\Translation\MessageSelector
-
v11.0.0
追加
- 変更後
@method static getSelector(): \Illuminate\Translation\MessageSelector
handleMissingKeysUsing
v11.0.0 以前から
static @method
static handleMissingKeysUsing(callable|null $callback): \Illuminate\Translation\Translator
-
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
-
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
-
v11.0.0
追加
- 変更後
@method static hasForLocale(string $key, string|null $locale = null): bool
hasMacro
v11.0.0 以前から
static @method
static hasMacro(string $name): bool
-
v11.0.0
追加
- 変更後
@method static hasMacro(string $name): bool
load
v11.0.0 以前から
static @method
static load(string $namespace, string $group, string $locale): void
-
v11.0.0
追加
- 変更後
@method static load(string $namespace, string $group, string $locale): void
locale
v11.0.0 以前から
static @method
static locale(): string
-
v11.0.0
追加
- 変更後
@method static locale(): string
macro
v11.0.0 以前から
static @method
static macro(string $name, object|callable $macro): void
-
v11.0.0
追加
- 変更後
@method static macro(string $name, object|callable $macro): void
-
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
-
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
-
v11.0.0
追加
- 変更後
@method static mixin(object $mixin, bool $replace = true): void
parseKey
v11.0.0 以前から
static @method
static parseKey(string $key): array
-
v11.0.0
追加
- 変更後
@method static parseKey(string $key): array
setFallback
v11.0.0 以前から
static @method
static setFallback(string $fallback): void
-
v11.0.0
追加
- 変更後
@method static setFallback(string $fallback): void
setLoaded
v11.0.0 以前から
static @method
static setLoaded(array $loaded): void
-
v11.0.0
追加
- 変更後
@method static setLoaded(array $loaded): void
setLocale
v11.0.0 以前から
static @method
static setLocale(string $locale): void
-
v11.0.0
追加
- 変更後
@method static setLocale(string $locale): void
setParsedKey
v11.0.0 以前から
static @method
static setParsedKey(string $key, array $parsed): void
-
v11.0.0
追加
- 変更後
@method static setParsedKey(string $key, array $parsed): void
setSelector
v11.0.0 以前から
static @method
static setSelector(\Illuminate\Translation\MessageSelector $selector): void
-
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
-
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
-
v11.0.0
追加
- 変更後
@method static stringable(callable|string $class, callable|null $handler = null): void