1
0
Fork 0
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:
Samuel Štancl 2021-01-27 12:28:31 +01:00
parent 0ea1334dce
commit dd346dc446

View file

@ -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.