mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 03:04:04 +00:00
Add conditions to facade docblocks
This commit is contained in:
parent
0ea1334dce
commit
dd346dc446
1 changed files with 3 additions and 3 deletions
|
|
@ -9,9 +9,9 @@ use Illuminate\Support\Facades\Facade;
|
|||
/**
|
||||
* 🔍 Gloss ✨ — Brilliant localization for Laravel.
|
||||
*
|
||||
* @method static void key(string $shortKey, string $newKey) Set a key override.
|
||||
* @method static void value(string $shortKey, string $value) Set a value override.
|
||||
* @method static void values(string $shortKey, string $value) Set multiple value overrides.
|
||||
* @method static void key(string $shortKey, string $newKey, array|null|callable $condition) Set a key override.
|
||||
* @method static void value(string $shortKey, string $value, array|null|callable $condition) Set a value override.
|
||||
* @method static void values(string $shortKey, array|null|callable $condition) Set multiple value overrides.
|
||||
* @method static ?string get($key, $replace = [], $locale = null) Get a translation string.
|
||||
* @method static ?string choice($key, $replace = [], $locale = null) Get a translation according to an integer value.
|
||||
* @method static void extend(string $shortKey, callable(string, callable): string $value) Extend a translation string.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue